docker-machine的安装

xiaoxiao2021-02-27  184

环境

Window server 2012 R2 64

VMware

CentOS 7

 

安装docker-machine

官方文档:https://docs.docker.com/machine/overview/

源码发布官网地址:https://github.com/docker/machine/releases

 

方法一:

[root@docker4 ~]#curl -L https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine && chmod +x /tmp/docker-machine && cp /tmp/docker-machine /usr/local/bin/docker-machine  

  %Total    % Received % Xferd  Average Speed   Time   Time     Time  Current

                                 Dload  Upload  Total   Spent    Left Speed

100  617    0   617   0     0    582     0 --:--:--  0:00:01 --:--:--   583

100 25.1M 100 25.1M    0     0  644k      0  0:00:40 0:00:40 --:--:-- 2801k

 

此连接安装时,有时会链接超时。多链接几次或是过会再链接应该会成功。

方法二:

下载网址

https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-Linux-x86_64

上传到/root

[root@docker4 ~]#mvdocker-machine-Linux-x86_64 /usr/local/bin/docker-machine

[root@docker4 ~]# chmod +x/usr/local/bin/docker-machine
转载请注明原文地址: https://www.6miu.com/read-14073.html

最新回复(0)