Skip to content

Push an image

View as Markdown

Push a local Docker image to your registry so that your project can use it.

Make sure that you have logged in to the registry and that the image exists on your machine.

  1. List the local images to find the one you want to push:

    docker images
  2. Tag the image with the registry address:

    docker tag <image>:<tag> <endpoint>/<namespace>/<image>:<tag>
  3. Push the tagged image:

    docker push <endpoint>/<namespace>/<image>:<tag>

Use the address from the registry’s Docker Commands panel: <endpoint> is registry.e2enetworks.net in Delhi and in-south1-registry.e2enetworks.net in Chennai, and <namespace> is the registry’s name.

For example:

docker tag my-app:v1.0 registry.e2enetworks.net/my-namespace/my-app:v1.0
docker push registry.e2enetworks.net/my-namespace/my-app:v1.0

The image then shows on the registry’s Images tab; see See the images in a registry. To run it, see Create an Instance from your own image.