Since nginx-proxy
catched up to Docker Networking support, this became prevailent again.
One workaround for this can look like the following in your pups YAML:
expose:
# - "80"
# - "2222:22"
# any extra arguments for Docker?
docker_args: --net=your_desired_network --expose=80
where no ports are exposed (in pups’ language) to certain ports (in Docker’s) of the host system, but exposed to a desired Docker network.