#CentOS 6
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update -y
yum -y install docker-io
service docker start
chkconfig docker on
#CentOS 7、Debian、Ubuntu
curl -sSL https://get.docker.com/ | sh
systemctl start docker
systemctl enable docker
不用的时候哪里都有,用的时候怎么百度都找不到,好不容易找到,赶紧复制到我博客里,就当做个笔记。
Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/www.zhaiike.com/wp-content/plugins/wechat-social-login/templates/share/share-bar.php on line 7
叨叨几句... NOTHING