2016-05-17 163 views
0

我在我的Centos 7上將docker-machine的最新版本從github下載到/ usr/local/bin/docker-machine,而chmod x則爲它。獲取錯誤:運行時出現分段錯誤(核心轉儲)docker-machine

當我運行它作爲docker-machine -v,如下錯誤:

Segmentation fault(core dumped).

我跑strace的泊塢窗機:

execve("docker-machine", ["docker-machine"], [/* 35 vars */]) = 0 
arch_prctl(ARCH_SET_FS, 0x2690388)  = 0 
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7ffba5531788} --- 
+++ killed by SIGSEGV (core dumped) +++ 

誰可以幫我的錯誤?

回答

0

你沒有提到你試圖安裝哪個docker-machine版本。但是如果你想安裝docker-machine V0.8.0,請嘗試以下操作 -

curl -L https://github.com/docker/machine/releases/download/v0.8.0/docker-machine-`uname -s`-`uname -m` >/usr/local/bin/docker-machine && \ 

chmod +x /usr/local/bin/docker-machine 

它解決了我的「分段故障」問題。希望它能起作用