Loading behave_utils/docker.py +5 −2 Original line number Diff line number Diff line # Copyright 2021-2022 Dominik Sekotill <dom.sekotill@kodo.org.uk> # Copyright 2021-2023 Dominik Sekotill <dom.sekotill@kodo.org.uk> # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this Loading Loading @@ -342,7 +342,10 @@ class Container(Item): else: opts.append(b"--network=none") self.cid = docker_output(b"container", b"create", *opts, self.image.iid, *self.cmd) self.cid = docker_output( b"container", b"create", "--rm", *opts, self.image.iid, *self.cmd, ) assert self.cid # Disconnect the "none" network specified as the starting network Loading Loading
behave_utils/docker.py +5 −2 Original line number Diff line number Diff line # Copyright 2021-2022 Dominik Sekotill <dom.sekotill@kodo.org.uk> # Copyright 2021-2023 Dominik Sekotill <dom.sekotill@kodo.org.uk> # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this Loading Loading @@ -342,7 +342,10 @@ class Container(Item): else: opts.append(b"--network=none") self.cid = docker_output(b"container", b"create", *opts, self.image.iid, *self.cmd) self.cid = docker_output( b"container", b"create", "--rm", *opts, self.image.iid, *self.cmd, ) assert self.cid # Disconnect the "none" network specified as the starting network Loading