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





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)
Card Puncher Data Processing
Docker - Repository

A repository is a location where image (and multiple tag variants) can be: pushed searched and pulled. It may be stored: locally or remotely (ie in a registry) The docker hub is the...



Share this page:
Follow us:
Task Runner