728x90
GitLab 컨테이너 레지스트리 사용하기
docker login
docker login registry.binddns.com
$ docker login registry.binddns.com
Username: binddns
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
docker build
$ docker build -t registry.binddns.com/playground/docker-images .
docker images
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
gitlab/gitlab-ce latest 7b8db4329c1c 25 hours ago 2.31GB
certbot/certbot latest 7dca0a9c8066 5 weeks ago 108MB
docker tag
docker tag certbot/certbot:latest registry.binddns.com/playground/docker-images:latest
$ docker tag certbot/certbot:latest registry.binddns.com/playground/docker-images:latest
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
gitlab/gitlab-ce latest 7b8db4329c1c 25 hours ago 2.31GB
certbot/certbot latest 7dca0a9c8066 5 weeks ago 108MB
registry.binddns.com/playground/docker-images latest 7dca0a9c8066 5 weeks ago 108MB
docker push
docker push registry.binddns.com/playground/docker-images
$ docker push registry.binddns.com/playground/docker-images
Using default tag: latest
The push refers to repository [registry.binddns.com/playground/docker-images]
263c92c8b7ad: Pushed
6ae4b14bebca: Pushed
4bb2249b073f: Pushed
a32f4fcc7545: Pushed
fa20ef29e396: Pushed
4558d4a1e7b7: Pushed
5adf6a2adcff: Pushed
b12aaecf5b11: Pushed
5d7294785f65: Pushed
3661f107c2a7: Pushed
52a9e72954d8: Pushed
b36a03007bb7: Pushed
32f366d666a5: Pushed
latest: digest: sha256:5418f32c7b23d8d370911282d5643962cb7895638a4d161d824ead31e43141f8 size: 3047
728x90
'리눅스' 카테고리의 다른 글
JVM(JAVA) Option의 목록과 설명 (0) | 2021.11.11 |
---|---|
[리눅스] SWAP Memory (0) | 2021.11.11 |
[리눅스] GitLab root 초기 비밀번호 (0) | 2021.11.09 |
NGINX 특정 파일이나 디렉토리를 제외한 모든 연결을 제한 (0) | 2021.11.08 |
쿠버네티스 인그레스 컨트롤러 설치 (0) | 2021.11.03 |