Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

docker run -d -p 80:8080 sooabia/sanse-tomcat9:2

Code Block
[root@lab-centos-on-docker-vm workspace]# docker run -d -p 80:8080 sooabia/sanse-tomcat9:2
9859a78bb9bebe5243b8639fb11a45d1e517376ca20293d1f35e7296d9dc9b2e

Image Added

Docker Hub에 올리기

Info
  • Docker hub로그인
Code Block
[root@lab-centos-on-docker-vm workspace]# 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 /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 hub에 업로드
Code Block
[root@lab-centos-on-docker-vm workspace]# docker push sooabia/sanse-tomcat9:2
The push refers to repository [docker.io/sooabia/sanse-tomcat9]
66e6933100ba: Pushed
b7d850202de0: Mounted from library/tomcat
d1d0b1719b96: Mounted from library/tomcat
48988bb7b861: Mounted from library/tomcat
edd61588d126: Mounted from library/tomcat
9b9b7f3d56a0: Mounted from sooabia/reactor-demo
f1b5933fe4b5: Mounted from sooabia/reactor-demo
2: digest: sha256:7c98ffb33f01e4a67d1df8eb9dfa10792b61949c5636069eb504a06b14af110c size: 1781