Tutorial: Docker Registry with EOS

A Docker Registry is storage and content delivery system that holds named docker images. Users interact with registry by pulling or pushing the images.

When you run a ‘docker pull’ command, the images are basically downloaded to your machine from a public or private docker registry.

In this tutorial, we will setup a docker registry that uses E2E Object Store for storing and retriving images.

Prerequisites

  1. Create a Bucket in E2E Object Store

  2. Assign Bucket Writer or Admin privilege on the bucket (from 1) to newly generated or existing Access Credentials. These credentials will be used to provide appropriate permissions to registry server on EOS.

Step 1 : Configure a registry Server

Docker engine by default uses a local filesystem for storing images but also supports overriding the configuration through a YAML file.