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

pull/2077/head
grossmj 2 years ago
parent bdd703a0dc
commit 908911e764

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

Loading…
Cancel
Save