NavigationContentFooter
Suggest an edit

How to connect your namespace to the Docker CLI

Reviewed on 27 November 2023Published on 25 February 2019

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.

Before you start

To complete the actions presented on this page, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • A valid API key
  • Docker installed on your local computer
  1. Click Container Registry in the Containers section of the Scaleway console side menu. The Container Registry namespaces dashboard displays.

  2. Click «See more Icon», then Push instructions next to the namespace you want to push to. A pop-up displays.

  3. Copy the push instructions. Then click X to close the pop-up.

  4. 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

    Replace [SCW_SECRET_KEY] with your API secret key and mynamespace with the name of your namespace.

    Once logged in, a 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.

See also
How to create a namespaceHow to push images
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS