Docker · Command
docker build
docker build uses Buildx to ask BuildKit to create an image from a Dockerfile. The command can return the image to the client or upload its output to a registry.
Last updated
Syntax
docker build [OPTIONS] PATH | URL | -In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BuildxBuildKitDockerfile.dockerignoredocker buildx buildDocker Hub