Minikube をダウンロード&インストールする
~/H/kubernates-tutorial ❯❯❯ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 && \ cmdand> chmod +x minikube && \ cmdand cmdand> sudo mv minikube /usr/local/bin/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 40.5M 100 40.5M 0 0 7278k 0 0:00:05 0:00:05 --:--:-- 9106k Password: ~/H/kubernates-tutorial ❮❮❮
xhyve をインストールする。ここではやくもエラー。既存の docker-machine コマンドと衝突した。
~/H/kubernates-tutorial ❯❯❯ brew install docker-machine-driver-xhyve ==> Installing dependencies for docker-machine-driver-xhyve: docker-machine, libev ==> Installing docker-machine-driver-xhyve dependency: docker-machine ==> Downloading https://homebrew.bintray.com/bottles/docker-machine-0.14.0.high_sierra.bottle.tar.gz ######################################################################## 100.0% ==> Pouring docker-machine-0.14.0.high_sierra.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/docker-machine Target /usr/local/bin/docker-machine already exists. You may want to remove it: rm '/usr/local/bin/docker-machine' To force the link and overwrite all conflicting files: brew link --overwrite docker-machine To list all files that would be deleted: brew link --overwrite --dry-run docker-machine Possible conflicting files are: /usr/local/bin/docker-machine -> /Applications/Docker.app/Contents/Resources/bin/docker-machine ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completions have been installed to: /usr/local/share/zsh/site-functions To have launchd start docker-machine now and restart at login: brew services start docker-machine Or, if you don't want/need a background service you can just run: docker-machine start ==> Summary 🍺 /usr/local/Cellar/docker-machine/0.14.0: 11 files, 32.1MB ==> Installing docker-machine-driver-xhyve dependency: libev ==> Downloading https://homebrew.bintray.com/bottles/libev-4.24.high_sierra.bottle.tar.gz ######################################################################## 100.0% ==> Pouring libev-4.24.high_sierra.bottle.tar.gz 🍺 /usr/local/Cellar/libev/4.24: 12 files, 432.8KB ==> Installing docker-machine-driver-xhyve ==> Downloading https://homebrew.bintray.com/bottles/docker-machine-driver-xhyve-0.3.3.high_sierra.bottle.1.tar.gz ######################################################################## 100.0% ==> Pouring docker-machine-driver-xhyve-0.3.3.high_sierra.bottle.1.tar.gz ==> Caveats This driver requires superuser privileges to access the hypervisor. To enable, execute sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve sudo chmod u+s /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve ==> Summary 🍺 /usr/local/Cellar/docker-machine-driver-xhyve/0.3.3: 3 files, 10.5MB ~/H/kubernates-tutorial ❯❯❯
overwrite するとなにかあるかもなので、中止。