Skip to content

Glossary: Docker Basics

EXPOSE

A Dockerfile instruction that records which port the app listens on. It is documentation only; you still need `-p` to publish the port.

Where the book teaches it

Related terms

Port-p (publish)