You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Push an image to Container registry

edited Nov 18, 2020 3:15PM in OCI - General 1 comment

Summary

push an image to container registry in another region

Content

Hi,

I pulled an image from us-ashburn-1 container registry. Now, to push that image to us-phoenix-1 container registry of the same tenancy, what are all the changes to be made to the image digest?

Below are the docker commands that I am using.

Version

latest

Code Snippet

docker pull iad.ocir.io/<namespace>/<repo>/<image>:<tag>
docker save -o <fileNameofTar.tar> iad.ocir.io/<namespace>/<repo>/<image>:<tag>
docker load -i <fileNameofTar.tar>
docker push phx.ocir.io/<namespace>/<repo>/<image>:<tag>
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!