The Charm Store will undergo scheduled database maintenance on July 5, 2026 22:00 to July 6, 02:00 UTC. During this time, you may be unable to access charm and bundle metadata or publish updates. No user action is required and services will automatically resume once maintenance is complete.

Containers Docker Registry

Platform:

Ubuntu
20.04 18.04 16.04
Channel Revision Published Runs on
latest/stable 240 16 Dec 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 218 26 Oct 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/beta 240 15 Dec 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/edge 253 31 Jan 2022
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
juju deploy containers-docker-registry

Learn about actions >

  • clean-containers

    Garbage collect non-running containers

  • clean-images

    Garbage collect non-running images

  • debug

    Collect debug data

  • images

    List images known by this registry.

    Params
    • options string

      Space separated options to pass to the underlying 'docker images' command. For example, to list all images (including intermediates) along with digests, run this action with 'options="--all --digests"'.

    • repository string

      Optional [REPOSITORY[:TAG]] to list images in a given repository. If unspecified, all images known to the registry are listed.

  • push

    Tag and push an image to this registry.

    Params
    • image string

      Image name, which may include an optional :version string. If the version is omitted, docker will assume ':latest'. This may be an unqualified local image (e.g. ubuntu:18.04) or a fully qualified remote registry (e.g. myregistry.example.com:5000/myimage:latest).

    • pull boolean

      Pull the given image before tag/push.

    • tag string

      Tag name to use. By default, images are tagged with 'net_location/name:version'.

    Required

    image

  • rmi

    Remove image(s) from this registry.

    Params
    • image string

      Image (or space separated images) to remove. This can be be an image id, tag, or digest.

    • options string

      Space separated options to pass to the underlying 'docker rmi' command. For example, to force image removal, run this action with 'options="--force"'.

    Required

    image

  • start

    Start a named registry container. With no arguments, this action starts the registry container configured by the charm 'registry-name' option.

    Params
    • name string

      Optional name of the registry container to start.

  • stop

    Stop a named registry container. With no arguments, this action stops the registry container configured by the charm 'registry-name' option.

    Params
    • name string

      Optional name of the registry container to stop.

    • remove boolean

      Remove the registry container after stopping.

  • upgrade-docker

    Force upgrades Docker to latest repository version