Delay actual container network connection until creation
Currently adding a behave_utils.docker.Container
to a network with Container.connect()
causes the creation of a container.
This makes it impossible to make further modifications to container volumes, environment, etc.
Calling Container.connect()
before a container is started should store the network and aliases, and defer connection until Container.start()
is called (or Container.get_id()
).