docker push

The command that uploads a local image to a registry.

In more detail

It needs credentials for the registry and permission to write to the repository. The registry answers with the digest of the stored bytes, which is the image's exact identity.

Examples

docker push "ghcr.io/acme/checkout:$GITHUB_SHA"
docker push registry.example.com/team/taskapi:0.1

Related terms

Taught in

References