Docker - Registry (Remote Image Store)

Card Puncher Data Processing

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

  • Docker Hub (default)
  • Docker Cloud

private

Management

Default

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

Start/Stop

  • Start your registry
docker run -d -p 5000:5000 --name registry registry:2
  • Stop the registry and remove all data
docker container stop registry && docker container rm -v registry

Push/Pull

When you use

  • the docker pull or docker run commands, the required images are pulled from your configured registry.
  • the docker push command, your image is pushed to your configured registry.

Example:

  • Tag the image so that it points to your registry
docker image tag ubuntu localhost:5000/myfirstimage
docker push localhost:5000/myfirstimage
docker pull localhost:5000/myfirstimage

Documentation / Reference





Discover More
Architecture
Docker - Architecture

The docker architecture is composed of: an host where the daemon run a daemon that manage and run all Docker object (such as image and container) a registry to download and push image a docker...
Card Puncher Data Processing
Docker - Linux Container (Ubuntu, Redhat, )

Linux container type Run it Test it base image phusion/baseimage-docker Ubuntu See Update it because the ubuntu image is minimal And install what you want Redhat use...
Card Puncher Data Processing
Docker - Pull

Docker pull will get an image from a registry (default docker hub) and store it locally The pull command will also ensure the latest version of the image is downloaded.
Card Puncher Data Processing
Docker - Push

When you use the docker push command, your image is pushed to your configured registry (default docker hub)



Share this page:
Follow us:
Task Runner