Well, which IP address do you want your container to listen on? 0.0.0.0 is just the wildcard address, which means the container listens on all interfaces. As long as the port is published, you can reach it via the loopback address (127.0.0.1:5000) as well as via the host’s LAN IP address, for example 192.168.1.100:5000.