"docker run" does not connect to more than one network #35543
Labels
area/networking
area/swarm
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
version/17.10
Description
Steps to reproduce the issue:
Create two networks:
Try to run a container attached to both networks and output the IPs:
Describe the results you received:
There is only one network present (apart from the loopback one). Example output:
Describe the results you expected:
There should be three interfaces (including loopback) including the two networks specified.
Additional information you deem important (e.g. issue happens only occasionally):
docker run
seems to only take into account the last network specified at the commandline.Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
This is on Ubuntu 16.04, but the same happens on Arch Linux as well. Tested on Docker swarm hosts only.
The text was updated successfully, but these errors were encountered: