2018
Oct
15




RHEL 7

sudo yum install docker

RHEL 6

先指定 docker yum repo

Example
  1. sudo tee /etc/yum.repos.d/docker.repo <<-EOF
  2. [dockerrepo]
  3. name=Docker Repository
  4. baseurl=https://yum.dockerproject.org/repo/main/centos/6
  5. enabled=1
  6. gpgcheck=1
  7. gpgkey=https://yum.dockerproject.org/gpg
  8. EOF

sudo yum install docker-engine


回應 (Leave a comment)