"우분투14 docker 설치"의 두 판 사이의 차이

36번째 줄: 36번째 줄:


==저장소 설정==
==저장소 설정==
<source lang='console'>
root@zetawiki:~# apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl software-properties-common
Reading package lists... Done
Building dependency tree     
... (생략)
Setting up curl (7.35.0-1ubuntu2.10) ...
Setting up apt-transport-https (1.0.1ubuntu2.17) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
</source>


==도커 설치==
==도커 설치==

2017년 2월 28일 (화) 17:25 판

Get Docker for Ubuntu
우분투 docker 설치

1 우분투 버전 확인

root@zetawiki:~# cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
→ 14.04 (LTS), 16.04 (LTS), 16.10 중 하나이면 OK

2 (14.04) 추가패키지 설치

  • 14.04라면 추가패키지 설치가 권장됨
root@zetawiki:~# apt-get update
... (생략)
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 5,103 kB in 19s (260 kB/s)                                             
Reading package lists... Done
root@zetawiki:~# apt-get install -y --no-install-recommends linux-image-extra-$(uname -r) linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
... (생략)
Found linux image: /boot/vmlinuz-3.13.0-110-generic
Found initrd image: /boot/initrd.img-3.13.0-110-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Setting up linux-image-generic (3.13.0.110.118) ...
Setting up linux-image-extra-virtual (3.13.0.110.118) ...

3 저장소 설정

root@zetawiki:~# apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl software-properties-common
Reading package lists... Done
Building dependency tree       
... (생략)
Setting up curl (7.35.0-1ubuntu2.10) ...
Setting up apt-transport-https (1.0.1ubuntu2.17) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...

4 도커 설치

5 같이 보기

6 참고 자료

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