安裝wget,如已安裝則跳過
[root@docker ~]# yum install -y wget
2. 安裝docker程序
[root@docker ~]# /usr/bin/wget -qO- https://get.docker.com/ | sh
或者使用
[root@docker ~]# curl -sSL https://get.docker.com/ | sh
安裝wget,如已安裝則跳過
[root@docker ~]# yum install -y wget
2. 安裝docker程序
[root@docker ~]# /usr/bin/wget -qO- https://get.docker.com/ | sh
或者使用
[root@docker ~]# curl -sSL https://get.docker.com/ | sh