Skip to main content

Push a Docker image to Container Registry

  1. Create a registry.

  2. Get a token.

  3. Log in to the registry.

  4. Assign a tag to the image:

    docker tag <image> cr.selcloud.ru/<registry>/<image>:<tag>

    Specify:

    • <image> — image name that does not exceed 20 UTF-8 characters. You can view it using the docker image list;
    • <registry> — the name of the registry where you want to push the image;
    • <tag> — the tag.
  5. Push the image into the registry:

    docker push cr.selcloud.ru/<registry>/<image>:<tag>