Docker Registry 구성과 관리
docker container registry
docker pull registry
docker run -d \
-v /root/registry_data:/var/lib/registry \
-p 5000:5000 \
--restart=always \
--name=local-registry \
registry
curl -X GET http://192.168.137.100:5000/v2/_catalog
> {"repositories":[]}docker image tag dbgurum/myweb:v1.0 192.168.137.100:5000/myweb:v1.0
docker images
> REPOSITORY TAG IMAGE ID CREATED SIZE
> howokace/nginx v1.0 e4720093a3c1 3 weeks ago 187MB
> howokace/nginx v1.1 e4720093a3c1 3 weeks ago 187MB
> nginx latest e4720093a3c1 3 weeks ago 187MB
> registry latest a8781fe3b7a2 6 weeks ago 25.4MB
> 192.168.137.100:5000/myweb v1.0 34d2c432bcb3 9 months ago 41.4MB
> dbgurum/myweb v1.0 34d2c432bcb3 9 months ago 41.4MB
docker push 192.168.137.100:5000/myweb:v1.0
> The push refers to repository [192.168.137.100:5000/myweb]
> Get "https://192.168.137.100:5000/v2/": http: server gave HTTP response to HTTPS clientLast updated