is port not common for all the docker networks?
问题 I have created two docker networks chnetwork docker network create --subnet=172.19.0.0/16 chnetwork Internal-network docker network create --internal --subnet 10.1.1.0/24 internal-network while create docker container I use chnetwork , docker run -it -d --name containerone -h www.cone.net -v /var/www/html -p 3006:80 --net chnetwork --ip 172.19.0.40 --privileged magento later I have changed to Internal-network and disconnect container from chnetwork docker network connect internal-network