【Docker】常見問題

centos6 no package docker-io

Plan A

1. yum install epel-release
2. cd /etc/yum.repos.d
   sudo wget http://www.hop5.in/yum/el6/hop5.repo
3. yum install docker-io
4. OK!!!

Plan B

yum install  https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm

centos6配置鏡像加速器

Plan A

vim /etc/sysconfig/docker 修改配置

other_args="--registry-mirror=https://i10044lu.mirror.aliyuncs.com"

我前幾次嘗試忘加--registry-mirror= 出現了docker dead but subsys locked的情況,加了以後就解決了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章