+ 00 00 0000

Have any Questions?

01_Simple Coding – 01_first_container

01_Simple Coding – 01_first_container

์‰ฌ์šด ๋ชฉ์ฐจ

๐Ÿ“ƒ ์š”์•ฝ

์ปดํ“จํ„ฐ๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์ตœ์ดˆ ์œˆ๋„์šฐ๋ฅผ ์„ค์น˜ํ•ด์•ผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Œ.
์œˆ๋„์šฐ ํ”„๋กœ๊ทธ๋žจ์„ OS(Operating System) ๋ผ๊ณ  ํ•˜๊ณ  ์šด์˜์ฒด์ œ๋ผ๊ณ  ํ•จ.
์šด์˜์ฒด์ œ๋Š” ํ‚ค๋ณด๋“œ, ๋งˆ์šฐ์Šค, ์Œ์•…, ๋™์˜์ƒ ๋“ฑ์˜ ํ™˜๊ฒฝ์„ ์‰ฝ๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” S/W ๋กœ ์ตœ์ดˆ๋กœ ์„ค์น˜๋˜์–ด์•ผ ํ•จ.
์šด์˜์ฒด์ œ์˜ ์ข…๋ฅ˜๋Š” ์œˆ๋„์šฐ(Window), ๋ฆฌ๋ˆ…์Šค(Linux), ์œ ๋‹‰์Šค(Unix)๊ฐ€ ์žˆ์œผ๋ฉฐ ์ฃผ๋กœ ๊ฐœ์ธ์šฉ์œผ๋กœ ์œˆ๋„์šฐ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ํšŒ์‚ฌ์—์„œ๋Š” ๋ฆฌ๋ˆ…์Šค ๋˜๋Š” ์œ ๋‹‰์Šค๊ฐ€ ์‚ฌ์šฉ๋จ

์š”์†Œ ๊ธฐ์ˆ  :

– Basic : ๋ฆฌ๋ˆ…์Šค

๐Ÿ“ƒ ๊ธฐ์ˆ  ๊ตฌํ˜„

์ŠคํŽ™ :

- docker desktop

๐Ÿ“ƒ ์ปจํ…Œ์ด๋„ˆ

1) ์ปจํ…Œ์ด๋„ˆ ์ฒซ๊ฑธ์Œ

์ปจํ…Œ์ด๋„ˆ : ์ด๋ฏธ์ง€(s/w ์ผ์ข…),
์ปจํ…Œ์ด๋„ˆ(์‹คํ–‰๋œ s/w)
์ปจํ…Œ์ด๋„ˆ ๊ฐ„์— ๋…๋ฆฝ๋œ ๊ณต๊ฐ„์—์„œ ํ™œ๋™ํ•จ

2) ๋„์ปค์—์„œ hello-world ์ด๋ฏธ์ง€ ์‹คํ–‰ํ•˜๊ธฐ

์‚ฌ์šฉ๋ฒ•) docker run hello-world
— ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œ ์‹œ์ž‘
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
719385e32844: Pull complete
Digest: sha256:fc6cf906cbfa013e80938cdf0bb199fbdbb86d6e3e013783e5a766f50f5dbce0
Status: Downloaded newer image for hello-world:latest
— ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œ ๋
— ์ด๋ฏธ์ง€ ์‹คํ–‰
Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

3) ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œ :

ํƒœ๊ทธ ์ƒ๋žต : ์ตœ์‹ ๋ฒ„์ „(latest)
์‚ฌ์šฉ๋ฒ•) docker pull ์ด๋ฏธ์ง€๋ช…:ํƒœ๊ทธ
๋ฆฌ๋ˆ…์Šค : ๋ฌด๋ฃŒ(ubuntu), ์ƒ์šฉ(redhat), ๋ฌด๋ฃŒ(centos:7)
docker pull centos:7
C:\Users2>docker pull centos:7
7: Pulling from library/centos
2d473b07cdd5: Pull complete
Digest: sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4
Status: Downloaded newer image for centos:7
docker.io/library/centos:7
๋‹ค์šด๋กœ๋“œ๋œ ์ด๋ฏธ์ง€ ๋ณด๊ธฐ ๋ช…๋ น์–ด
์‚ฌ์šฉ๋ฒ•) docker images
C:\Users2>docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
hello-world         latest              9c7a54a9a43c        4 weeks ago         13.3kB
centos              7                   eeb6ee3f44bd        20 months ago       204MB
์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰ : docker run

4) centos:7 ์„ ์‹คํ–‰ํ•ด ๋ณด์„ธ์š”

์‚ฌ์šฉ๋ฒ•) docker run -it –name test1 centos:7 bash
docker run : ์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰ ๋ช…๋ น
-d : daemon(์ˆจ๊ฒจ์ ธ์„œ ์‹คํ–‰๋˜๋Š” ํ”„๋กœ๊ทธ๋žจ), ๋ฐฑ๊ทธ๋ผ์šด ํ”„๋กœ์„ธ์Šค
-it : ํ„ฐ๋ฏธ๋„๋กœ ์ ‘์†ํ•ด์„œ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜๋Š” ํ™˜๊ฒฝ์„ ๋„์šฐ์‹œ์š” ๋ผ๋Š” ์˜ต์…˜
–name ๋ณ„๋ช… : ์ปจํ…Œ์ด๋„ˆ ๋ณ„๋ช… ๋ถ™์ด๊ธฐ ์˜ต์…˜
centos:7 : ์ด๋ฏธ์ง€๋ช…
bash : ์‚ฌ์šฉํ•  ์…€ ํ™˜๊ฒฝ(์˜ˆ: bash, sh ๋“ฑ)
C:\Users2>docker run -it --name test1 centos:7 bash
[root@98e0aa051537 /]# ls
anaconda-post.log  bin  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
[root@98e0aa051537 /]# exit
C:\Users2>
์ปจํ…Œ์ด๋„ˆ ์ƒํƒœ ๋ณด๊ธฐ(๋ชฉ๋ก๋ณด๊ธฐ) : docker ps
์‹คํ–‰์ค‘์ธ ์ปจํ…Œ์ด๋„ˆ ๋ชฉ๋ก์„ ์ถœ๋ ฅ
์‚ฌ์šฉ๋ฒ•) docker ps
-a : ์‹คํ–‰/์ค‘์ง€ ๋ชจ๋“  ์ปจํ…Œ์ด๋„ˆ ๋ชฉ๋ก ๋ณด๊ธฐ

5) ํ˜„์žฌ ์‹คํ–‰์ค‘์ธ ์ปจํ…Œ์ด๋„ˆ ๋ชฉ๋ก์„ ํ™”๋ฉด์— ์ถœ๋ ฅ

C:\Users2>docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
์ „์ฒด(์‹คํ–‰/์ค‘์ง€) ์ปจํ…Œ์ด๋„ˆ ๋ณด๊ธฐ
์‚ฌ์šฉ๋ฒ•) docker ps -a
C:\Users2>docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                      PORTS               NAMES
98e0aa051537        centos:7            "bash"              24 minutes ago      Exited (0) 20 minutes ago                       test1
89b7101f0b41        hello-world         "/hello"            39 minutes ago      Exited (0) 39 minutes ago                       sweet_jang
์ปจํ…Œ์ด๋„ˆ ๋กœ๊ทธ ์ถœ๋ ฅ : docker logs

6) hello-world ์ปจํ…Œ์ด๋„ˆ ๋กœ๊ทธ๋ฅผ ์ถœ๋ ฅํ•˜์„ธ์š”

์‚ฌ์šฉ๋ฒ•) docker logs ์ปจํ…Œ์ด๋„ˆ๋ช…(์ปจํ…Œ์ด๋„ˆid, ๋ณ„๋ช…)
docker logs 89b7101f0b41
C:\Users2>docker logs 89b7101f0b41

Hello from Docker!
This message shows that your installation appears to be working correctly.
...์ƒ๋žต
์ปจํ…Œ์ด๋„ˆ ์žฌ๊ธฐ๋™ : docker start
์‚ฌ์šฉ๋ฒ•) docker start ์ปจํ…Œ์ด๋„ˆ๋ช…(์ปจํ…Œ์ด๋„ˆid, ๋ณ„๋ช…)

7) centos:7 ๋ฅผ ๋‹ค์‹œ ์žฌ์‹คํ–‰ ์‹œํ‚ค์„ธ์š”

docker start test1
C:\Users2>docker start test1
test1
์‹คํ–‰๋œ ์ปจํ…Œ์ด๋„ˆ ๋ณด๊ธฐ
docker ps
C:\Users2>docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
98e0aa051537        centos:7            "bash"              35 minutes ago      Up 15 seconds                           test1
์ปจํ…Œ์ด๋„ˆ์— ์ ‘์†ํ•˜๊ธฐ(์‹คํ–‰๋œ ์ปจํ…Œ์ด๋„ˆ๋งŒ ๊ฐ€๋Šฅ)
์‚ฌ์šฉ๋ฒ•) docker attach ์ปจํ…Œ์ด๋„ˆ๋ช…(์ปจํ…Œ์ด๋„ˆid, ๋ณ„๋ช…)
C:\Users2>docker attach test1
[root@98e0aa051537 /]#

8) ubuntu:latest ๋ฆฌ๋ˆ…์Šค ์ด๋ฏธ์ง€๋ฅผ ๋‹ค์šด๋กœ๋“œ ๋ฐ›๊ณ  ์ปจํ…Œ์ด๋„ˆ์— ์ ‘์†์— ๋ณด์„ธ์š”

ํžŒํŠธ) docker pull, images, run
(1) ubuntu ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œ
docker pull ubuntu
C:\Users2>docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
837dd4791cdc: Pull complete
Digest: sha256:ac58ff7fe25edc58bdf0067ca99df00014dbd032e2246d30a722fa348fd799a5
Status: Downloaded newer image for ubuntu:latest
docker.io/library/ubuntu:latest

9) (2) ์ด๋ฏธ์ง€ ๋ชฉ๋ก ๋ณด๊ธฐ

docker images
C:\Users2>docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
ubuntu              latest              1f6ddc1b2547        2 weeks ago         77.8MB
hello-world         latest              9c7a54a9a43c        4 weeks ago         13.3kB
centos              7                   eeb6ee3f44bd        20 months ago       204MB

C:\Users2>

10) ubuntu ์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰

docker run -it –name ubuntu ubuntu bash
C:\Users2>docker run -it --name ubuntu ubuntu bash
root@ccf0e618b725:/#
์ปจํ…Œ์ด๋„ˆ ์ค‘์ง€

11) ์œ„์˜ ์—ฐ์Šต๋ฌธ์ œ ubuntu ์— ๋‹ค๋ฅธ ํ„ฐ๋ฏธ๋„๋ฅผ ์—ด๊ณ  ์ผ๋ฐ˜ ์ •์ง€ํ•ด๋ณด์„ธ์š”

์‚ฌ์šฉ๋ฒ•) docker stop ์ปจํ…Œ์ด๋„ˆ๋ช…(์ปจํ…Œ์ด๋„ˆid, ๋ณ„๋ช…)
C:\Users2>docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
ccf0e618b725        ubuntu              "bash"              3 minutes ago       Up 3 minutes                            ubuntu

C:\Users2>docker stop ubuntu
ubuntu

12) ๋‹ค์‹œ ubuntu ๋ฅผ ์ ‘์†ํ•œ ์ƒํƒœ์—์„œ ๋‹ค๋ฅธ ํ„ฐ๋ฏธ๋„์—์„œ ๊ฐ•์ œ ์ข…๋ฃŒํ•ด ๋ณด์„ธ์š”

C:\Users2>docker kill ubuntu
ubuntu

C:\Users2>
์ด๋ฏธ์ง€๋ฅผ ์›๊ฒฉ ๋ ˆํฌ์ง€ํ† ๋ฆฌ(๋„์ปคํ—ˆ๋ธŒ)์— ๋ณด๊ด€(์—…๋กœ๋“œ)
1) docker login : ๋„์ปคํ—ˆ๋ธŒ ๊ฐ€์ž…(๊ณ„์ •, ์•”ํ˜ธ)
2) docker push : ์—…๋กœ๋“œ ๋ช…๋ น์–ด

13) ubuntu ์ด๋ฏธ์ง€๋ฅผ ์ž์‹ ์˜ ๋„์ปคํ—ˆ๋ธŒ์— ์—…๋กœ๋“œ ํ•˜์„ธ์š”

(1) docker login
C:\Users2>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: kangtaegyung
Password:
WARNING! Your password will be stored unencrypted in C:\Users2\.docker\config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

C:\Users2>
(2) docker push
์˜ฌ๋ฆฐ ์ด๋ฏธ์ง€๋ช… : ๊ณ„์ •๋ช…/์ด๋ฏธ์ง€๋ช…:ํƒœ๊ทธ
์˜ˆ) kangtaegyung/ubuntu
์˜ฌ๋ฆด ์ด๋ฏธ์ง€๋ช… ์ œ์ž‘(ํƒœ๊ทธ)
์‚ฌ์šฉ๋ฒ•) docker tag ์ด๋ฏธ์ง€๋ช… ๊ณ„์ •๋ช…/์ด๋ฏธ์ง€๋ช…:ํƒœ๊ทธ
๋„์ปค ์ด๋ฏธ์ง€ ๋ชฉ๋ก ๋ณด๊ธฐ
docker images
C:\Users2>docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
ubuntu              latest              1f6ddc1b2547        2 weeks ago         77.8MB
hello-world         latest              9c7a54a9a43c        4 weeks ago         13.3kB
centos              7                   eeb6ee3f44bd        20 months ago       204MB
๋„์ปค ์ด๋ฏธ์ง€ ์ถ”๊ฐ€(ํƒœ๊ทธ ๋ถ™์ด๊ธฐ)
docker tag ubuntu kangtaegyung/ubuntu
C:\Users2>docker tag ubuntu kangtaegyung/ubuntu
๋„์ปค ์ด๋ฏธ์ง€ ๋ชฉ๋ก ๋‹ค์‹œ ๋ณด๊ธฐ
docker images
C:\Users2>docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
ubuntu                latest              1f6ddc1b2547        2 weeks ago         77.8MB
kangtaegyung/ubuntu   latest              1f6ddc1b2547        2 weeks ago         77.8MB
hello-world           latest              9c7a54a9a43c        4 weeks ago         13.3kB
centos                7                   eeb6ee3f44bd        20 months ago       204MB

C:\Users2>
๋„์ปค ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ(push)
์‚ฌ์šฉ๋ฒ•) docker push ๊ณ„์ •๋ช…/์ด๋ฏธ์ง€๋ช…:ํƒœ๊ทธ
docker push kangtaegyung/ubuntu
C:\Users2>docker push kangtaegyung/ubuntu
The push refers to repository [docker.io/kangtaegyung/ubuntu]
966e94ab6e16: Mounted from library/ubuntu
latest: digest: sha256:65994a6106186040e20fff871f53e5cb623193705fb4c93d8b9be01fc3aaaebf size: 529

C:\Users2>
์ปจํ…Œ์ด๋„ˆ ์‚ญ์ œ : docker rm
์‚ฌ์šฉ๋ฒ•) docker rm ์ปจํ…Œ์ด๋„ˆ๋ช…(์ปจํ…Œ์ด๋„ˆid, ๋ณ„๋ช…)

14) centos:7 ์ปจํ…Œ์ด๋„ˆ ์‚ญ์ œํ•ด ์ฃผ์„ธ์š”

(1) ์ปจํ…Œ์ด๋„ˆ ์ „์ฒด ๋ชฉ๋ก
docker ps -a
C:\Users2>docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                         PORTS               NAMES
ccf0e618b725        ubuntu              "bash"              About an hour ago   Exited (137) 56 minutes ago                        ubuntu
98e0aa051537        centos:7            "bash"              2 hours ago         Exited (0) About an hour ago                       test1
89b7101f0b41        hello-world         "/hello"            2 hours ago         Exited (0) 2 hours ago                             sweet_jang

15) ์ปจํ…Œ์ด๋„ˆ ์‚ญ์ œ

docker rm test1
C:\Users2>docker rm test1
test1
๋‹ค์‹œ ๋„์ปค ์ „์ฒด ๋ชฉ๋ก ๋ณด๊ธฐ
docker ps -a
C:\Users2>docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                        PORTS
      NAMES
ccf0e618b725        ubuntu              "bash"              About an hour ago   Exited (137) 57 minutes ago
      ubuntu
89b7101f0b41        hello-world         "/hello"            2 hours ago         Exited (0) 2 hours ago
      sweet_jang

16) centos:7 ๋‹ค์šด๋กœ๋“œ ๋ฐ›์€ ์ด๋ฏธ์ง€๋ฅผ ์‚ญ์ œํ•ด ์ฃผ์„ธ์š”

์‚ฌ์šฉ๋ฒ•) docker rmi ์ด๋ฏธ์ง€๋ช…:ํƒœ๊ทธ(์ด๋ฏธ์ง€id)
์ฐธ๊ณ ) ์ด๋ฏธ์ง€ ์‚ญ์ œ์‹œ ๋ฏธ๋ฆฌ ์ปจํ…Œ์ด๋„ˆ๊ฐ€ ์‚ญ์ œ๋˜์–ด ์žˆ์–ด์•ผํ•จ
(1) ์ด๋ฏธ์ง€ ์ „์ฒด ๋ชฉ๋ก
docker images
C:\Users2>docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
kangtaegyung/ubuntu   latest              1f6ddc1b2547        2 weeks ago         77.8MB
ubuntu                latest              1f6ddc1b2547        2 weeks ago         77.8MB
hello-world           latest              9c7a54a9a43c        4 weeks ago         13.3kB
centos                7                   eeb6ee3f44bd        21 months ago       204MB

17) centos:7 ์ด๋ฏธ์ง€ ์‚ญ์ œ

docker rmi centos:7
C:\Users2>docker rmi centos:7
Untagged: centos:7
Untagged: centos@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4
Deleted: sha256:eeb6ee3f44bd0b5103bb561b4c16bcb82328cfe5809ab675bb17ab3a16c517c9
Deleted: sha256:174f5685490326fc0a1c0f5570b8663732189b327007e47ff13d2ca59673db02

18) ์ด๋ฏธ์ง€ ์ „์ฒด ๋ชฉ๋ก ํ™•์ธ

docker images
C:\Users2>docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
kangtaegyung/ubuntu   latest              1f6ddc1b2547        2 weeks ago         77.8MB
ubuntu                latest              1f6ddc1b2547        2 weeks ago         77.8MB
hello-world           latest              9c7a54a9a43c        4 weeks ago         13.3kB

C:\Users2>

19) hello-world ์ปจํ…Œ์ด๋„ˆ์™€ ์ด๋ฏธ์ง€๋ฅผ ์‚ญ์ œํ•ด ์ฃผ์„ธ์š”

(1) ์ปจํ…Œ์ด๋„ˆ ์ „์ฒด ๋ชฉ๋ก ํ™•์ธ ๋ฐ ์‚ญ์ œ
์ปจํ…Œ์ด๋„ˆ ์ „์ฒด ๋ชฉ๋ก ๋ณด๊ธฐ
docker ps -a
:\Users2>docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                      PORTS               NAMES
ccf0e618b725        ubuntu              "bash"              17 hours ago        Exited (137) 17 hours ago                       ubuntu
89b7101f0b41        hello-world         "/hello"            18 hours ago        Exited (0) 18 hours ago                         sweet_jang
์ปจํ…Œ์ด๋„ˆ ์‚ญ์ œ
docker rm sweet_jang
C:\Users2>docker rm sweet_jang
sweet_jang
๋‹ค์‹œ ์ปจํ…Œ์ด๋„ˆ ์ „์ฒด ๋ชฉ๋ก ๋ณด๊ธฐ
C:\Users2>docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                      PORTS               NAMES
ccf0e618b725        ubuntu              "bash"              17 hours ago        Exited (137) 17 hours ago                       ubuntu

C:\Users2>

20) hello-world ์ด๋ฏธ์ง€ ์‚ญ์ œ

์‚ฌ์šฉ๋ฒ•) docker rmi ์ด๋ฏธ์ง€๋ช…:ํƒœ๊ทธ
์ด๋ฏธ์ง€ ์ „์ฒด ๋ชฉ๋ก ๋ณด๊ธฐ
docker images
C:\Users2>docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
ubuntu                latest              1f6ddc1b2547        2 weeks ago         77.8MB
kangtaegyung/ubuntu   latest              1f6ddc1b2547        2 weeks ago         77.8MB
hello-world           latest              9c7a54a9a43c        4 weeks ago         13.3kB

21) ์ด๋ฏธ์ง€ ์‚ญ์ œํ•˜๊ธฐ

docker rmi hello-world:latest
C:\Users2>docker rmi hello-world:latest
Untagged: hello-world:latest
Untagged: hello-world@sha256:fc6cf906cbfa013e80938cdf0bb199fbdbb86d6e3e013783e5a766f50f5dbce0
Deleted: sha256:9c7a54a9a43cca047013b82af109fe963fde787f63f9e016fdc3384500c2823d
Deleted: sha256:01bb4fce3eb1b56b05adf99504dafd31907a5aadac736e36b27595c8b92f07f1

22) ๋‹ค์‹œ ์ด๋ฏธ์ง€ ์ „์ฒด ๋ชฉ๋ก ๋ณด๊ธฐ

C:\Users2>docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
kangtaegyung/ubuntu   latest              1f6ddc1b2547        2 weeks ago         77.8MB
ubuntu                latest              1f6ddc1b2547        2 weeks ago         77.8MB

C:\Users2>

๋‹ต๊ธ€ ๋‚จ๊ธฐ๊ธฐ

์ด๋ฉ”์ผ ์ฃผ์†Œ๋Š” ๊ณต๊ฐœ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ•„์ˆ˜ ํ•„๋“œ๋Š” *๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค