우분투 docker 간편 설치

1 알림[ | ]

  • 2020년 기준 설치 패키지가 변경되었습니다.
  • 더 이상 우분투 공식 레포에 도커 패키지가 올라오지 않습니다.
  • 아래의 문서는 구버전 도커 설치 방법이니, 최신 버전 설치는 다음 링크를 참고해주세요. https://docs.docker.com/install/linux/docker-ce/ubuntu/

2 개요[ | ]

우분투 docker 간편 설치
  • 여기서는 테스트用, 클라이언트用으로 간단히 설치하는 방법을 설명함
  • production급의 설치를 원한다면 우분투 docker 엔진 설치 참고

3 확인[ | ]

root@zetawiki:~# docker -v
The program 'docker' is currently not installed. You can install it by typing:
apt-get install docker

4 설치[ | ]

root@zetawiki:~# apt-get install docker.io
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  checkpolicy libapol4 libauparse0 libqpol1 policycoreutils python-audit
  python-ipy python-selinux python-semanage python-sepolgen python-sepolicy
  python-setools
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apparmor aufs-tools cgroup-lite
Suggested packages:
  apparmor-profiles apparmor-profiles-extra apparmor-docs apparmor-utils
  btrfs-tools debootstrap lxc rinse
The following packages will be REMOVED:
  selinux selinux-policy-ubuntu
The following NEW packages will be installed:
  apparmor aufs-tools cgroup-lite docker.io
0 upgraded, 4 newly installed, 2 to remove and 174 not upgraded.
Need to get 4,749 kB/5,203 kB of archives.
After this operation, 6,128 kB disk space will be freed.
Do you want to continue? [Y/n]

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}