在CentOS 7上手动安装Docker Engine
本文以Docker 1.11为例,介绍如何在CentOS 7上手工安装Docker Engine
安装步骤
下载docker binary
$wget https://get.docker.com/builds/Linux/x86_64/docker-1.11.0.tgz
解压缩,安装
$tar xzf docker-1.11.0.tgz $sudo mv docker/* /usr/bin
创建docker组
$sudo groupadd docker $sudo usermod -aG docker $USER
配置docker服务
$sudo wget https://github.com/docker/docker/raw/v1.11.2/contrib/init/systemd/docker.service -O /usr/lib/systemd/system/docker.service $sudo wget https://github.com/docker/docker/raw/v1.11.2/contrib/init/systemd/docker.socket -O /usr/lib/systemd/system/docker.socket
$sudo systemctl daemon-reload $sudo systemctl enable docker.service $sudo reboot
参考文档
更多Docker相关教程见以下内容:
Docker 的详细介绍:请点这里
Docker 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-04/142528.htm
相关推荐
changecan 2020-11-19
changecan 2020-09-22
王道革 2020-11-25
bwyyziq 2020-11-22
pigsmall 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13
WanKaShing 2020-11-12
yangkang 2020-11-12
滴水穿石点石成金 2020-11-12
张荣珍 2020-11-12
wuxunanjing 2020-11-11
魅惑青花瓷 2020-11-11
lihongtai 2020-11-09
yangkang 2020-11-09
worldsnow 2020-11-06
MichaelJScofield 2020-11-06