Update content

How to push images to your namespace

Reviewed on 31 May 2021Published on 25 February 2019

After configuring Docker on your local machine, you can use it 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.

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