(also provided Traditional Chinese version document README-CH.md.)
Guide for deploying Private Docker Registry and UI, and then push image to registry.
refer to docker-compose.yaml
docker compose up -d
registry running at localhost:5000
ui running at localhost:80
sudo vim /etc/docker/daemon.json
add below
"insecure-registries": ["${REGISTRY_IP}:5000"]
restart docker
systemctl daemon-reload
systemctl restart docker
Docker Desktop/Settings/Docker Engine
add below
"insecure-registries": ["${REGISTRY_IP}:5000"]
click Apply & restart
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}