docker 설치 방법
반응형

RHEL 계열 - cent, Amazon Linux

# docker 설치
yum install -y docker-ce

# docker 버전 확인
docker version

# docker 설치 확인
docker info

 

ubuntu linux (20.04.2 이상)

# docker 설치
sudo apt install docker.io

# docker 버전 확인
docker version

# docker 설치 확인
docker info

# 설치 명령어를 입력해 보면 아래와 같이 수행된다.
$ sudo apt install docker.io
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  bridge-utils containerd dns-root-data dnsmasq-base libidn11 pigz runc ubuntu-fan
Suggested packages:
  ifupdown aufs-tools cgroupfs-mount | cgroup-lite debootstrap docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
  bridge-utils containerd dns-root-data dnsmasq-base docker.io libidn11 pigz runc ubuntu-fan
0 upgraded, 9 newly installed, 0 to remove and 79 not upgraded.
Need to get 74.4 MB of archives.
After this operation, 360 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
# 이후 자동으로 설치된다.
반응형