Replace "$SCW_SECRET_KEY"
with your
mynamespace
with the name of your namespace.Your opinion helps us make a better documentation.
Docker is a tool that 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.
To complete the actions presented below, you must have:
Click Container Registry in the Containers section of the
Scaleway consoleside menu. The Container Registry namespaces dasard 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.
Open a terminal window on your local computer.
Run the following command to log into the namespace:
docker login rg.fr-par.scw.cloud/mynamespace -u nologin --password-stdin <<< "$SCW_SECRET_KEY"
Replace "$SCW_SECRET_KEY"
with your
mynamespace
with the name of your namespace.Once logged in, confirmation is displayed:
Login Succeeded
You are now logged in and ready to push and pull images to and from your Container Registry with Docker.
Your opinion helps us make a better documentation.