Push a local Docker image to your registry so that your project can use it.
Push it
Section titled “Push it”-
Log in to the registry, if you have not yet in this session.
-
List the local images to find the one you want to push:
docker images -
Tag the image with the registry address:
docker tag <image>:<tag> <endpoint>/<namespace>/<image>:<tag> -
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.0docker push registry.e2enetworks.net/my-namespace/my-app:v1.0The 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.
Was this page helpful?