摘要: 1 #启动服务 2 [root@localhost ~]# systemctl start docker 3 #查看镜像 4 [root@localhost ~]# docker images 5 REPOSITORY TAG IMAGE ID CREATED SIZE 6 #拉取镜像 7 [roo 阅读全文
posted @ 2021-07-02 14:30 虾米T1 阅读(58) 评论(0) 推荐(0)
摘要: 使用Dockerfile生成镜像时,过程中会产生一些none镜像,此命令用于批量删除none镜像 1 #awk 文本和数据进行处理的编程语言 2 #查询none镜像 3 docker images | grep none 4 <none> <none> 20ed80f35440 23 hours a 阅读全文
posted @ 2021-07-02 14:17 虾米T1 阅读(434) 评论(1) 推荐(0)
摘要: 1 #查询可安装版本 2 [root@localhost ~]# yum list docker-ce --showduplicates | sort -r 3 Repository extras is listed more than once in the configuration 4 doc 阅读全文
posted @ 2021-06-24 14:53 虾米T1 阅读(112) 评论(0) 推荐(0)
摘要: 系统版本Centos8.3 1 #更新yum源 2 cd /etc/yum.repos.d/ 3 #备份原源文件 4 mv CentOS-Linux-BaseOS.repo CentOS-Linux-BaseOS.repo.bak 5 #本地上传 6 #scp 本地地址:服务器地址 7 #scp / 阅读全文
posted @ 2021-06-23 17:03 虾米T1 阅读(61) 评论(0) 推荐(0)