Command

Docker Push an Image Command

The Docker command to push an image is docker push IMAGE.

Quick Answer

Command
docker push IMAGE
DockerCommand

Push an Image

Type this command
docker push IMAGE

Uploads an image to a registry so others can pull it.

Learn More

How to push an image in Docker

  1. Open the terminal or command interface for Docker.
  2. Type docker push IMAGE, replace any placeholders, and run it.

Docker Push an Image Command

Run docker push IMAGE.

Related Commands

Frequently asked questions

What is the Docker command to push an image?

Run docker push IMAGE.

Where do I type this Docker command?

Type it in the terminal or command-line interface used by Docker.

Does this Docker command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify