I’m using Ubuntu and the commands
docker-compose build --pull
docker-compose up --detach
I have multiple containers with different ports listings.
I am viewing the port setup with both docker ps and the Ubuntu iptables command (they both agree)
The following works
The following does not work (i.e. does not setup the link in docker ps nor add 30304 to the iptables)
(I also have 6 other containers attempting to map external 30305 to 30309 to the containers’ 30303 with equal lack of success)
I am at a total loss here. I’m assuming that it is a docker/docker-compose issue since docker ps doesn’t show the mapping – but I don’t see any distinguishing features between what is working and what is not.