๐ฅ
[docker] ๊ฐ๋จํ ๋ช ๋ น์ด ์ ๋ฆฌ ๋ณธ๋ฌธ
1. docker ๋ก๊ทธ์ธ
docker login $dockerhub_address -u $my_id -p $my_password
2. docker pull
docker pull $docker_image:$tag
# ex
docker pull quay.io/prometheus/statsd-exporter:v0.22.8
3. docker image ํ์ธ
์์์ pull ํ ํจํค์ง๊ฐ ํ์ธ๋๋ค.
[root@test-server /]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/prometheus/statsd-exporter v0.22.8 601019e98ed2 9 months ago 17.1MB
4. tag ์ค์ (๋ณ๊ฒฝ)
private registry์ ์ฌ๋ฆด ๋์๋ tag ๋ณ๊ฒฝํ ์ ์๋ค.
docker tag $repository:$tag1 $repository:$tag2
5. docker push
docker push $repository:$tag
https://quackstudy.tistory.com/entry/docker-%EC%B6%94%EA%B0%80-%EB%82%B4%EC%9A%A9