newtype
::: newtype의 지식창고 :::
newtype
전체 방문자
오늘
어제
  • 분류 전체보기 (392)
    • Dev (214)
      • C, C++ (43)
      • Go (5)
      • Web (49)
      • DBMS (21)
      • DevOps (8)
      • Java (2)
      • Windows, Win32 (4)
      • Visual Basic (5)
      • C# (2)
      • Mobile (25)
      • SQL CE (7)
      • Google Map (6)
      • Python (2)
      • cygwin (2)
      • 기타 (32)
      • Ruby (1)
    • 명언 (10)
    • 모임 (18)
      • 붕주회 (3)
      • 신흥컴정 (14)
      • 웹20기 (1)
    • 사진 (8)
    • 불펌 (29)
    • 막글 (98)
    • 게임 (6)
    • 여행 (8)

블로그 메뉴

  • 홈
  • 태그
  • 방명록
  • 관리

공지사항

  • whoami
05-13 00:00
hELLO · Designed By 정상우.
newtype

::: newtype의 지식창고 :::

Dev/기타

리눅스 배포판별 docker 설치 방법

2015. 9. 14. 15:52

Docker 설치

공식 문서: http://docs.docker.com/installation/

  • 64 bit 기준으로 테스트 해봤습니다.


Red Hat Enterprise 6.2

공식 문서에는 rhel 7 부터 지원하지만, 아래 방법으로 설치 가능

  • yum 저장소를 centos 로 수정.
rpm -ivh  http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

vi /etc/yum.repos.d/epel.repo
# cd /etc/yum.repos.d
# cp rhel-debuginfo.repo rhel-debuginfo.repo.bak
# vim rhel-debuginfo.repo

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
  • update
yum repolist
yum update
  • Disable selinux & reboot
vi /etc/selinux/config
SELINUX=disabled

reboot now
  • 인증키 생성
rpm --import http://mirror.centos.org/centos/6/os/x86_64/RPM-GPG-KEY-CentOS-6
  • update
yum install libdevmapper.so.1.02
  • docker 설치
yum -y install docker-io
reboot now


Cent OS 6.6

yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install docker-io


Ubuntu 14.04

apt-get update
apt-get upgrade
apt-get install -y less vim openssh-server curl

apt-get install docker.io
    or
curl -sSL https://get.docker.com/ | sh


Debian 8

공식 문서대로는 설치가 안됨.

apt-get update
apt-get upgrade
apt-get install -y less vim openssh-server curl
wget http://ftp.kr.debian.org/debian/pool/main/a/apparmor/libapparmor1_2.9.0-3_amd64.deb
dpkg -i libapparmor1_2.9.0-3_amd64.deb
wget http://ftp.kr.debian.org/debian/pool/main/a/apt/libapt-pkg4.12_1.0.9.8.1_amd64.deb
dpkg -i libapt-pkg4.12_1.0.9.8.1_amd64.deb
wget http://ftp.kr.debian.org/debian/pool/main/a/apt/apt-transport-https_1.0.9.8.1_amd64.deb
dpkg -i apt-transport-https_1.0.9.8.1_amd64.deb
curl -sSL https://get.docker.com/ | sh



반응형
저작자표시

'Dev > 기타' 카테고리의 다른 글

lightsail 의 disk 공간 줄이기  (0) 2023.03.10
Windows 에서 포트 포워딩 기능 사용하기.  (0) 2018.04.05
최적의 makrdown editor는 sublime text  (0) 2015.01.12
문자열 치환  (0) 2014.09.25
shell script로 구현하는 URL 상태 체크  (0) 2013.11.14
    'Dev/기타' 카테고리의 다른 글
    • lightsail 의 disk 공간 줄이기
    • Windows 에서 포트 포워딩 기능 사용하기.
    • 최적의 makrdown editor는 sublime text
    • 문자열 치환
    newtype
    newtype
    지극히 개인적인 지식의 창고

    티스토리툴바