centos7 安装docker-ce docker-compose
centos7 安装docker-ce docker-compose安装依赖更换repo安装docker-ce验证docker安装docker-compose安装依赖yum install -y yum-utils device-mapper-persistent-data lvm2更换repoyum-config-manager --add-repo http://mirrors.al...
·
centos7 安装docker-ce docker-compose
安装依赖
yum install -y yum-utils device-mapper-persistent-data lvm2
更换repo
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
安装docker-ce
yum install docker-ce
验证docker
sudo systemctl start docker
sudo docker run hello-world
docker使用报错
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
systemctl daemon-reload
sudo service docker restart
sudo service docker status
docker images
更多推荐
已为社区贡献7条内容
所有评论(0)