registry README
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
systemmgr --config && systemmgr install scripts
dockermgr update registry
OR
mkdir -p "$HOME/.local/share/srv/docker/registry/dataDir"
git clone "https://github.com/dockermgr/registry" "$HOME/.local/share/CasjaysDev/dockermgr/registry"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/registry/dataDir/." "$HOME/.local/share/srv/docker/registry/dataDir/"
docker pull casjaysdevdocker/registry:latest && \
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-registry \
--hostname casjaysdev-registry \
-e TZ=${TIMEZONE:-America/New_York} \
-v $HOME/.local/share/srv/docker/registry/dataDir/data:/data:z \
-v $HOME/.local/share/srv/docker/registry/dataDir/config:/config:z \
-p 80:80 \
casjaysdevdocker/registry:latest
version: "2"
services:
registry:
image: casjaysdevdocker/registry
container_name: registry
environment:
- TZ=America/New_York
- HOSTNAME=casjaysdev-registry
volumes:
- $HOME/.local/share/srv/docker/registry/dataDir/data:/data:z
- $HOME/.local/share/srv/docker/registry/dataDir/config:/config:z
ports:
- 80:80
restart: always
📽 dockermgr: Github 📽
🤖 casjay: Github Docker 🤖
⛵ CasjaysDevDocker: Github Docker ⛵