You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the container ends up connected to the network, but when calling net1.containers on the network object, it returns an empty list ([])
When re-getting the network object with client.networks.get(net1_name),
the container shows up.
to reproduce this bug:
create a network object with client.networks.create
run a container with client.containers.run, with parameter network = (the name of the net you created)
check network_object.containers field and see it's empty
do client.networks.get(net1_name) to re-get the object and see that now the container is present in
checked this issue with two different hosts with different docker versions, both reproduced the bug.