Skip to content

yuhexiong/deploy-private-docker-registry-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Private Docker Registry Guide

(also provided Traditional Chinese version document README-CH.md.)

Guide for deploying Private Docker Registry and UI, and then push image to registry.

Deploy By Docker

refer to docker-compose.yaml

docker compose up -d

registry running at localhost:5000
ui running at localhost:80

Set Local Docker

Linux

sudo vim /etc/docker/daemon.json

add below

"insecure-registries": ["${REGISTRY_IP}:5000"]

restart docker

systemctl daemon-reload
systemctl restart docker

MAC and Windows

Docker Desktop/Settings/Docker Engine

add below

"insecure-registries": ["${REGISTRY_IP}:5000"]

click Apply & restart

docker desktop

Build Image And Push

at your project dir

build image

docker build -t ${IMAGE_NAME} -f ${DOCKERFILE_PATH} .

tag image

docker tag ${IMAGE_NAME} ${REGISTRY_IP}/${IMAGE_NAME}

push image

docker push ${REGISTRY_IP}/${IMAGE_NAME}

UI

registry ui

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published