You have to tell it what to do explicitly. Publishing Portsĭocker doesn’t publish exposed ports by itself. EXPOSE 8000ĭefining a port as “exposed” doesn’t publish the port by itself. Docker won’tĭo anything with that information by itself. Writing EXPOSE in your Dockerfile, is merelyĪ hint that a certain port is useful. It make your container available? What EXPOSE Does What does it mean to EXPOSE a port in yourĭockerfile? What is it good for, and why doesn’t