카테고리 없음
CentOS 6 에서 docker 설치
devbrain
2017. 7. 8. 19:34
CentOS 6 버전에서 도커를 설치하는 방법
# EPEL Repository 설치
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# 또는 yum epel update
yum -y install epel-release
# yum 저장소를 업데이트 한다.
yum update -y
# yum 으로 docker 설치하기
yum -y install docker-io
# docker 서비스 실행
service docker start
# 서비스 등록
chkconfig docker on
# 또는 ntsysv 실행하여 등록
ntsysv
# ntsysv 가 설치되어 있지 않으면 설치
yum install -y ntsysv