Filter by Category

base

FROM

Sets the base image for the build

variable

ARG

Defines a build-time variable

ENV

Sets persistent environment variables

metadata

LABEL

Adds metadata to an image

MAINTAINERDeprecated

Sets the author of the image (deprecated)

execution

RUN

Executes commands during build

CMD

Sets the default command for the container

ENTRYPOINT

Configures the container as an executable

SHELL

Overrides the default shell for shell-form instructions

filesystem

COPY

Copies files from build context into the image

ADD

Copies files with auto-extraction and URL support

WORKDIR

Sets the working directory for subsequent instructions

network

EXPOSE

Documents the ports the container listens on

security

USER

Sets the user for subsequent instructions and container runtime

storage

VOLUME

Declares a mount point for external volumes

runtime

STOPSIGNAL

Sets the signal sent to stop the container

HEALTHCHECK

Defines a command to test container health

advanced

ONBUILD

Adds deferred trigger instructions for child images

Dockerfile

Legend (Try hovering over keywords ↑)

base
execution
filesystem
variable
metadata
👈

Select a Command

Click any command in the left panel or keywords in the Dockerfile to explore its full reference.