本人微信公众号"aeolian"~

linux使用Docker搭建酷Q运行环境

安装Docker

Docker是Enterprise Linux(EPEL)的额外包的一部分,EPEL是用于RHEL发行版的非标准包的社区库。首先,我们将安装EPEL仓库:

rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

更新yum源

yum update -y

通过安装 docker-io 软件包来安装 Docker

yum -y install docker-io

启动 Docker 守护进程

service docker start

让Docker在服务器启动时启动

chkconfig docker on

 

 

启动

service docker start

 

查看状态

netstat -lnpe|grep docker

 

参考:

https://my.oschina.net/u/4207293/blog/3121035

https://www.xiaomingblog.cn/archives/linux%E6%90%AD%E5%BB%BA%E9%85%B7Q%E8%BF%90%E8%A1%8C%E7%8E%AF%E5%A2%83

点赞

Leave a Reply

Your email address will not be published. Required fields are marked *