Skip to content

redpencilio/app-oci-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app-oci-registry

Application stack to host an OCI registry.

Getting started

Clone the repository and start the application using docker compose.

git clone https://github.com/redpencilio/app-oci-registry.git
cd app-oci-registry
docker compose up -d

How-to guides

How to configure the registry as mirror

The registry can be configured to act as a mirror/pull through cache for another registry.

Add the following at the bottom of the mounted config file in ./config/registry/config.yml

proxy:
  remoteurl: https://registry-1.docker.io

Next, restart the registry container

docker compose restart registry

Finally, configure your docker daemon to make use of the mirror by adding the following to /etc/docker/daemon.json

{
  "registry-mirrors": ["https://<my-docker-mirror-host>"]
}

Restart the docker service

sudo service docker restart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published