- 基于linux安装docker
2.doker架构 3.配置镜像加速器(可以去阿里云上免费·获取) https://blog.csdn.net/KLKFL/article/details/107195536 4.docker启动相关命令 5.docker镜像相关命令 例如:查找MySQL相关版本信息 docker search mysql 下载MySQL docker pull mysql:5.6
- 当id有相同是可通过docker rmi 镜像名称:版本号
- 若ID不存在相同时 docker rmi IMAGE_ID
基于centos:7镜像创建容器 进入后退出容器用exit
正在运行的容器无法关闭 7.数据卷
8.容器转镜像 常见错误解决方法
- Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See ‘docker run --help’.
https://hexingxing.cn/centos8-failed-to-download-metadata-for-repo-appstream/
- Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See ‘docker run --help’.
https://www.cnblogs.com/morgan363/p/12011404.html
|