---
title: How to push images to your namespace
description: Learn how to push container images to Scaleway's Container Registry.
tags: push-image namespace container-registry
dates:
  validation: 2026-08-13
  posted: 2019-02-25
---

After [configuring Docker on your local machine](/en/docs/container-registry/how-to/connect-docker-cli/), 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.

## Before you start

To complete the following actions, you must have:

* A Scaleway account logged into the [console](https://console.scaleway.com)
* [Owner](/en/docs/iam/concepts/glossary/#owner) status or [IAM permissions](/en/docs/iam/concepts/glossary/#permission) allowing you to perform actions in the intended Organization
* A [Container Registry namespace](/en/docs/container-registry/how-to/create-namespace/)
* [Docker](https://www.docker.com/) installed on your local computer
* Access to your [namespace](/en/docs/container-registry/how-to/connect-docker-cli/)

> **Important**
>
> Replace the placeholders in the following examples with the appropriate values.
>
> * For the regions `fr-par`, `nl-ams`, and `pl-waw`, use the format `rg.<REGION>.scw.cloud/<NAMESPACE>/<IMAGE>:<TAG>`
> * For the region `it-mil`, use `scw.eu` instead of `scw.cloud`: `rg.it-mil.scw.eu/<NAMESPACE>/<IMAGE>:<TAG>`

1. Open a terminal window on your local computer.
2. Pull the latest release of the [Ubuntu](https://hub.docker.com/_/ubuntu/) Docker image:
   ```bash
   docker pull ubuntu:latest
   ```
3. Tag the image:
   ```bash
   docker tag ubuntu:latest rg.fr-par.scw.cloud/<NAMESPACE>/ubuntu:latest
   ```
4. Push the image to your Container Registry namespace using docker:
   ```bash
   docker push rg.fr-par.scw.cloud/<NAMESPACE>/ubuntu:latest
   ```
