mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Check for colon in project name. Fixes #2203
This commit is contained in:
1 parent
ceb8208002
commit
f08ce9d3f1
2 files changed
+18
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user