随笔分类 -  docker学习

摘要:国内加速地址 1.Docker中国区官方镜像 https://registry.docker-cn.com 2.网易 http://hub-mirror.c.163.com 3.ustc https://docker.mirrors.ustc.edu.cn 4.中国科技大学 https://dock 阅读全文
posted @ 2022-08-15 16:59 槑孒 阅读(217) 评论(0) 推荐(1) 编辑
摘要:这里做个人案例演示 1.下载centos7.9.2009镜像 下载镜像作为后续例子演示 # 查看本地镜像 [root@echohye ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE registry.cn-hangzhou.aliyunc 阅读全文
posted @ 2022-08-13 19:29 槑孒 阅读(190) 评论(0) 推荐(0) 编辑
摘要:问题如下: [root@echohye ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE 127.0.0.1:5000/echohye 1.1 409b137b25d9 50 minutes ago 381MB 192.168.1.6:50 阅读全文
posted @ 2022-08-13 18:52 槑孒 阅读(151) 评论(0) 推荐(0) 编辑
摘要:这里做个人示例演示 1.查看本地镜像 [root@echohye ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE hello-world latest feb5d9fea6a5 10 months ago 13.3kB centos la 阅读全文
posted @ 2022-08-13 15:58 槑孒 阅读(302) 评论(0) 推荐(0) 编辑
摘要:[root@echohye ~]# docker pull centos Using default tag: latest latest: Pulling from library/centos a1d0c7532777: Pull complete Digest: sha256:a27fd808 阅读全文
posted @ 2022-08-12 23:32 槑孒 阅读(515) 评论(0) 推荐(0) 编辑
摘要:问题·如下 [root@echohye ~]# docker run hello-world docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon runnin 阅读全文
posted @ 2022-08-12 21:54 槑孒 阅读(64) 评论(0) 推荐(0) 编辑
摘要:刚装的docker,准备拉取个hello-world来试试的,结果报了这错误 docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp 44.207.51.64:443: connect: 阅读全文
posted @ 2022-08-11 00:13 槑孒 阅读(4748) 评论(0) 推荐(0) 编辑
摘要:官方步骤 1.配置好虚拟机(CentOS7及以上)且接外网 [root@echohye ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 2.卸载旧版本 (若之前没装过,此步省略) /表示连接符而已 yum remove 阅读全文
posted @ 2022-08-10 23:48 槑孒 阅读(48) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示