![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Docker
文章平均质量分 50
Lntower
努力不一定会有结果,但努力的过程会让我变得越来越优秀
展开
-
Docker常用的命令
docker镜像管理1.搜索镜像:docker search nginx #选官方镜像,选点赞人数最多的`2.获取镜像:docker pull[root@model ~]# docker pull nginx ##不指定版本 pull最新版本[root@model ~]# docker pull nginx:1.12.2 ##pull 指定版本[root@model ~]# docker pull centos3.查看镜像:docker image ls 或 docker images原创 2021-08-16 20:42:32 · 364 阅读 · 0 评论 -
Docker:ob for docker.service failed because the control process exited with error code.
安装Dockers运行时报错:ob for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.一般都是卸载重新安装Dockers:卸载旧版docker一、. sudo yum remove docker docker-common docker-selinux d原创 2021-08-16 18:51:53 · 2038 阅读 · 0 评论 -
Docker安装
由于 Docker-CE 支持 64 位版本的 CentOS 7 ,并且要求内核版本不低于 3.10, 可以用 uname -r 进行查看相关的配置信首先我们需要卸载掉旧版本的:yum remove docker安装相关的依赖:yum install -y yum-utils device-mapper-persistent-data vm2替换软件仓库为TUNA:sed -i 's+download.docker.com+mirrors.tuna.tsinghua.edu.cn/docker-ce+原创 2021-08-16 18:44:42 · 420 阅读 · 0 评论