Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

main

[Docker] 도커 설치 - Ubuntu 14.04 본문

ETC

[Docker] 도커 설치 - Ubuntu 14.04

1984 2022. 9. 3. 10:53
# 설치된 오래된 버전 삭제	
sudo apt-get remove docker docker-engine docker.io

# docker install	
sudo apt-get update
# docker 필수 패키지
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
# Docker가 aufs라는 스토리지 드라이버를 사용하기 때문에 14.04 버전 이하에서는 설치 권장
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# armhf는 [arch=armhf], s390x는 [arch=s390x]로 명령어를 변경해야 합니다.
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update

# 버전 확인 해서 안정적인 버전으로 설치할 것 (docker-ce={특정 버전})
apt-cache policy docker-ce
sudo apt-get install docker-ce
# 예) sudo apt-get install docker-ce=17.03.2~ce-0~ubuntu-trusty
	
# root dir 확인	
docker info | grep Root
# docker root directory 변경	
sudo vi /etc/docker/daemon.json
{
"graph": "/원하는/경로"
}
728x90
Comments