Update content

How to push images to your namespace

Reviewed on 27 November 2023 • Published on 25 February 2019

After configuring Docker on your local machine, you can use it to pull images from their library and push them to your Container Registry. This page shows you how to pull, tag, and push a first image to your Scaleway Container Registry namespace, using an Ubuntu image as an example.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:
  1. Open a terminal window on your local computer.
  2. Pull the latest release of the Ubuntu docker image:
    docker pull ubuntu:latest
  3. Tag the image:
    docker tag ubuntu:latest rg.fr-par.scw.cloud/mynamespace/ubuntu:latest
  4. Push the image to your Container Registry namespace using docker:
    docker push rg.fr-par.scw.cloud/mynamespace/ubuntu:latest
Important:

Replace mynamespace in the examples above with the name of your namespace.

See Also