Check for colon in project name. Fixes #2203

This commit is contained in:
grossmj committed 2023-03-19 18:26:26 +10:00
1 parent ceb8208002
commit f08ce9d3f1
2 files changed
+18

No files matched your search

+3
View File
@@ -323,6 +323,9 @@ class DockerVM(BaseNode):
Creates the Docker container.
"""
if ":" in self.working_dir:
raise DockerError("Cannot create a Docker container with a project name containing a colon character (':')")
try:
image_infos = await self._get_image_information()
except DockerHttp404Error: