1.docker图形化管理工具安装
docker run -d -p 9000:9000
-v /var/run/docker.sock:/var/run/docker.sock
--name prtainer
portainer/portainer
说明:然后就可以通过 IP:9000 访问portainer了。
2.docker镜像源
docker 镜像加速
mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://hub-mirror.c.163.com"
]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
国内阿里云镜像:https://www.cnblogs.com/atuotuo/p/6264800.html
https://yeasy.gitbooks.io/docker_practice/install/mirror.html
https://www.cnblogs.com/wushuaishuai/p/9984228.html#_label2_0
3. yum update中问题
another app is currently holding the yum lock;waiting for it to exit
解决办法:
rm -f /var/run/yum.pid
相关链接
1.Centos7 docker 安装
https://juejin.im/post/5c36fd906fb9a049f8197c9b
2.Centos7 安装docker-ce
https://www.cnblogs.com/hellxz/p/11044012.html
https://juejin.im/post/5d089f49f265da1baa1e7611