1
0
Fork 0
Container w/ Docker Registry
This repository has been archived on 2023-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Daniel Wolf 641c789bcd
update .gitignore
2022-03-02 18:58:50 -05:00
override remove blank lines 2021-05-02 19:22:04 -04:00
.dockerignore finalized ci pipeline 2020-01-03 13:32:36 -05:00
.drone.yml allow discord notification to fail 2022-03-02 18:58:06 -05:00
.gitignore update .gitignore 2022-03-02 18:58:50 -05:00
Dockerfile move to registry main/v3 branch 2021-08-23 12:20:09 -04:00
LICENSE.md update dates 2021-05-02 19:44:52 -04:00
README.md move to registry main/v3 branch 2021-08-23 12:20:09 -04:00

README.md

Git | Docker | unRAID

Build Status

Docker Registry

This docker image contains a Docker Registry server to self-host your own docker registry.

YOU WILL NEED TO USE A SEPARATE REVERSE PROXY SERVER TO SECURE THIS SERVICE. SEE THE DOCUMENTATION FOR MORE DETAILS ON HOW TO CONFIGURE SUCH A PROXY.

You can spin up a quick temporary test container like this:

docker run --rm -p 5000:5000 -it nephatrine/docker-registry:latest /bin/bash

Docker Tags

  • nephatrine/docker-registry:testing: Registry 2.7 / Alpine Edge
  • nephatrine/docker-registry:latest: Registry 2.7 / Alpine Latest

Configuration Variables

You can set these parameters using the syntax -e "VARNAME=VALUE" on your docker run command. Some of these may only be used during initial configuration and further changes may need to be made in the generated configuration files.

  • PUID: Mount Owner UID (1000)
  • PGID: Mount Owner GID (100)
  • TZ: System Timezone (America/New_York)

Persistent Mounts

You can provide a persistent mountpoint using the -v /host/path:/container/path syntax. These mountpoints are intended to house important configuration files, logs, and application state (e.g. databases) so they are not lost on image update.

  • /mnt/config: Persistent Data.

Do not share /mnt/config volumes between multiple containers as they may interfere with the operation of one another.

You can perform some basic configuration of the container using the files and directories listed below.

  • /mnt/config/etc/crontabs/<user>: User Crontabs. [*]
  • /mnt/config/etc/registry/config.yml: Registry Configuration. [*]
  • /mnt/config/etc/logrotate.conf: Logrotate Global Configuration.
  • /mnt/config/etc/logrotate.d/: Logrotate Additional Configuration.

[*] Changes to some configuration files may require service restart to take immediate effect.

Network Services

This container runs network services that are intended to be exposed outside the container. You can map these to host ports using the -p HOST:CONTAINER or -p HOST:CONTAINER/PROTOCOL syntax.

  • 5000/tcp: Registry Server. This is the server interface.