mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-04-24 04:55:47 +00:00
Add delay after starting a Docker container and adding connections in uBridge. Ref #2522
This commit is contained in:
parent
d06f93e772
commit
ca34053125
@ -522,6 +522,7 @@ class DockerVM(BaseNode):
|
||||
await self._clean_servers()
|
||||
|
||||
await self.manager.query("POST", "containers/{}/start".format(self._cid))
|
||||
await asyncio.sleep(0.5) # give the Docker container some time to start
|
||||
self._namespace = await self._get_namespace()
|
||||
|
||||
await self._start_ubridge(require_privileged_access=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user