[Docker] Docker Hub에 Private repository에 docker image 올리기

2021. 1. 26. 12:15개발/Docker

 

docker login --username username
docker tag my-image username/my-repo
docker push username/my-repo

 

 

stackoverflow.com/questions/28349392/how-to-push-a-docker-image-to-a-private-repository

 

How to push a docker image to a private repository

I have a docker image tagged as me/my-image, and I have a private repo on the dockerhub named me-private. When I push my me/my-image, I end up always hitting the public repo. What is the exact syn...

stackoverflow.com

이미지 가져오는 법

docker pull registry.example.com/username/ubuntu:14.04
728x90