Docker #4 - Get started(3) tag, push
2021. 4. 22. 15:10
1. Image Tagging
## Docker Image Tagging
## docker image tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
docker tag hellodocker dmltjq2524/hellodocker:0.0.1
2. Image Upload(push)
## docker image push command
## docker push [OPTIONS] NAME[:TAG]
## docker push를 통해 dockerhub에 업로드한 이미지는
## docker run을 이용해 run할 수 있다.
docker push dmltjq2524/hellodocker:0.0.1
Summary
## Docker Image Tagging
docker image tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
## docker image push command
docker push [OPTIONS] NAME[:TAG]
'cloud computing > docker' 카테고리의 다른 글
Docker #5 - Ubuntu에 Docker Engine 설치하기 (0) | 2021.06.08 |
---|---|
vmmem (0) | 2021.05.20 |
Docker #3 - Get started(2) build, run, stop (0) | 2021.04.22 |
Docker #2 - Get started(1) (0) | 2021.04.22 |
Docker #1 - Docker overview (0) | 2021.04.22 |