Docker Hub에 이미지 Push하기

[docker@sprint1-docker-vm ~]$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
wordpress           latest              523eaf9f0ced        4 days ago          422MB
mysql               5.7                 e47e309f72c8        3 weeks ago         372MB
hello-world         latest              fce289e99eb9        2 months ago        1.84kB
[docker@sprint1-docker-vm ~]$ docker tag mysql:5.7 sooabia/mysql:5.7
[docker@sprint1-docker-vm ~]$ docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: sooabia
Password:
WARNING! Your password will be stored unencrypted in /home/docker/.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@sprint1-docker-vm ~]$
[docker@sprint1-docker-vm ~]$ docker push sooabia/mysql:5.7
The push refers to repository [docker.io/sooabia/mysql]
2d99d47e32ff: Mounted from library/mysql
b274c4ccaeb7: Mounted from library/mysql
3a6f6ce9f7a9: Mounted from library/mysql
16347e23e92e: Mounted from library/mysql
5d6846033b0c: Mounted from library/mysql
73ea790d3afa: Mounted from library/mysql
7d390c8db6fd: Mounted from library/mysql
7756685f09e9: Mounted from library/mysql
7412b239e6a1: Mounted from library/mysql
3d33930b279a: Mounted from library/mysql
0a07e81f5da3: Mounted from library/wordpress
5.7: digest: sha256:888d433748dbccc8388a665134b1906f13f599753ef190546903181b7312027d size: 2621
[docker@sprint1-docker-vm ~]$
[docker@sprint1-docker-vm ~]$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
wordpress           latest              523eaf9f0ced        4 days ago          422MB
mysql               5.7                 e47e309f72c8        3 weeks ago         372MB
sooabia/mysql       5.7                 e47e309f72c8        3 weeks ago         372MB
hello-world         latest              fce289e99eb9        2 months ago        1.84kB
[docker@sprint1-docker-vm ~]$ docker tag wordpress:latest sooabia/wordpress:latest
[docker@sprint1-docker-vm ~]$ docker push sooabia/wordpress:latest
The push refers to repository [docker.io/sooabia/wordpress]
9ccf1b228f7f: Mounted from library/wordpress
d67e1e7da3a9: Mounted from library/wordpress
50b535e5def2: Mounted from library/wordpress
b183dbc0a88e: Mounted from library/wordpress
4e8815c0b0d8: Mounted from library/wordpress
7c992b7dcd99: Mounted from library/wordpress
2e9c0f909e90: Mounted from library/wordpress
61475e20b56d: Mounted from library/wordpress
ee268a99f0ee: Mounted from library/wordpress
005a87a63ac9: Mounted from library/wordpress
66fd43b3ea3b: Mounted from library/wordpress
20d941ba3638: Mounted from library/wordpress
eb3e3e0ec224: Mounted from library/wordpress
3843f6b0eab9: Mounted from library/wordpress
63fc1837f67c: Mounted from library/wordpress
c68025fbc229: Mounted from library/wordpress
ec6f4f0a90dc: Mounted from library/wordpress
0a07e81f5da3: Mounted from sooabia/mysql
latest: digest: sha256:9a52222382ad1849fcc8767218926ce43d7d816b51176798932e648da84e64af size: 4080
[docker@sprint1-docker-vm ~]$


Docker Hub에서 확인 하기

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.