1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Remove parameter "Name" not useful to create a Docker container

This commit is contained in:
grossmj 2022-06-18 19:41:20 +02:00
parent bdd703a0dc
commit 908911e764

View File

@ -335,7 +335,6 @@ class DockerVM(BaseNode):
params = {
"Hostname": self._name,
"Name": self._name,
"Image": self._image,
"NetworkDisabled": True,
"Tty": True,
@ -687,7 +686,6 @@ class DockerVM(BaseNode):
# resize the container TTY.
await self._manager.query("POST", "containers/{}/resize?h={}&w={}".format(self._cid, rows, columns))
async def _start_console(self):
"""
Starts streaming the console via telnet