-
Notifications
You must be signed in to change notification settings - Fork 11
Linux
陳鍾誠 edited this page Mar 9, 2018
·
4 revisions
除了直接安裝到電腦、或者安裝雙作業系統之外,也可以安裝虛擬機 (VMWare, VirtualBox, Docker) 後使用 Linux。
在 Windows/Mac 中可以安裝 Docker Community Edition (CE) 後使用 Linux ,請參考下列連結
Mac 中的安裝指令
$ curl -L https://github.com/docker/machine/releases/download/v0.14.0/docker-machine-`uname -s`-`uname -m` >/usr/local/bin/docker-machine && \
chmod +x /usr/local/bin/docker-machine
Windows (Git Bash ) 中的安裝指令
$ if [[ ! -d "$HOME/bin" ]]; then mkdir -p "$HOME/bin"; fi && \
curl -L https://github.com/docker/machine/releases/download/v0.14.0/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe" && \
chmod +x "$HOME/bin/docker-machine.exe"
安裝完成後就可以用 docker-machine version 指令檢查
$ docker-machine version
docker-machine version 0.14.0, build 9371605