What does it mean to EXPOSE a port in your Dockerfile? What is it good for, and why doesn’t it make your container available? What EXPOSE Does Writing EXPOSE in your Dockerfile, is merely a hint that a certain port is useful. Docker won’t do anything with that information by itself. EXPOSE 8000 Defining a port as “exposed” doesn’t publish the port by itself. Publishing Ports Docker doesn’t publish exposed ports by itself.