How do I Migrate Images to Oracle Container Repository

When migrating Kubernetes Deployments you can also migrate the docker images to a new repository. This can be achieved by specifying the region, tenancy and optionally providing a folder/prefix for the image.

To migrate images to Oracle Container Registry you will first need to create an Auth Token to be used as a password for Docker, this can be done by doing the following:

In the top-right corner of the Console, open the Profile menu (image) and then click User Settings to view the details.

On the Auth Tokens page, click Generate Token.

Enter a friendly description for the auth token. Avoid entering confidential information.

Click Generate Token. The new auth token is displayed.

Copy the auth token immediately to a secure location from where you can retrieve it later, because you won’t see the auth token again in the Console.

Close the Generate Token dialog.

This token will now be used as your Docker registry password.

The Docker registry username will be one of the following depending on if you are using the Oracle Identity Cloud service.

<tenancy-namespace>/<username> , where <tenancy-namespace> is the auto-generated Object Storage namespace string of your tenancy (as shown on the Tenancy Information page). For example, ansh81vru1zp/jdoe@acme.com .

If your tenancy is federated with Oracle Identity Cloud Service, use the format <tenancy-namespace>/oracleidentitycloudservice/<username> .