ps:实验环境是:CentOS Linux release 7.3 64位1.获取mysql镜像从docker hub的仓库中拉取mysql镜像docker pull mysql查看镜像docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEdocker.io/mysql 5.7 b4e78b89bcf3 …
安装Docker yum install docker 本文使用的系统是centos7,ubuntu使用以下命令 sudo apt-get update sudo apt-get install docker-engine 如果报了以下错误,是因为yum被其它进程使用了 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memo…
前言 接上篇 <记一次centos挂载ceph存储的坑> 服务器重做了centos7.5版本的操作系统,剩下就是安装docker,考虑yum安装耗时较长,我一般都是直接安装二进制版本docker包,下面我们看下如何离线部署docker 安装步骤 国际惯例,看说明书选版本 说明书传送门:https://docs.docker.com/engine/install/binaries/ 里面有一项比较重要的说明: Version 3.10 or higher of the Linux kernel.…