°Ô½Ã¹° 3°Ç
 
[docker] docker install on centos8
±Û¾´ÀÌ : theko ³¯Â¥ : 2020-08-11 (È­) 13:54 Á¶È¸ : 1517
1. »çÀü ÆÐÅ°Áö ¼³Ä¡
# yum install -y yum-utils
# yum-config-manager  --add-repo  https://download.docker.com/linux/centos/docker-ce.repo


2. docker ¼³Ä¡ ¹× ±âµ¿
# yum list docker-ce --showduplicates | sort -r

# yum install docker-ce-18.03.1.ce-1.el7.centos

# systemctl start docker
# systemctl status docker

3. TEST 
# docker run hello-world

//¾Æ·¡ ¹®±¸°¡ Ç¥½ÃµÇ¸é ¿Ï·á
// Ȥ ¾Æ·¡ ¹®±¸°¡ ¾È³ª¿À¸é ¹æÈ­º® ¹®Á¦
==================
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
0e03bdcc26d7: Pull complete
Digest: sha256:49a1c8800c94df04e9658809b006fd8a686cab8028d33cfba2cc049724254202
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/
=============================



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
 

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com