How to connect your namespace to the Docker CLI
Docker is a tool which makes it easy to manage container images. You can use Docker to push and pull images to and from your Scaleway Container Registry. We show you how to set up Docker on your local computer to connect to your Container Registry.
Click Container Registry in the Tools section of the Scaleway Console side menu. The Container Registry namespaces dashboard displays.
Click «See more Icon», then Push Instructions next to the namespace you want to push to. A pop-up displays.
Copy the push instructions. Then click OK to close the pop-up.
Open a terminal window on your local computer. Then log into the namespace by running the following command from the terminal:
docker login rg.fr-par.scw.cloud/mynamespace -u nologin -p [SCW_SECRET_KEY]Important:Once logged in, a confirmation is displayed:
[SCW_SECRET_KEY]with your API Secret Key and
mynamespacewith the name of your namespace.
You are now logged in and ready to push and pull images to and from your Container Registry with Docker.