Table of Contents

Docker - Registry (Remote Image Store)

About

A Docker Registry is a remote store of Docker images.

Technically, a registry is an instance of the registry image, and runs within Docker.

Docker store allows you to buy and sell Docker images or distribute them for free.

Type

public

private

Management

Default

Docker is configured to look for images on Docker Hub by default.

Start/Stop

docker run -d -p 5000:5000 --name registry registry:2
docker container stop registry && docker container rm -v registry

Push/Pull

When you use

Example:

docker image tag ubuntu localhost:5000/myfirstimage
docker push localhost:5000/myfirstimage
docker pull localhost:5000/myfirstimage