How to run “docker-machine create” in OS X?

前端 未结 3 1869
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 07:04

I started Docker and am now following the tutorial, but for all I know I couldn\'t run the docker-machine command on OS X.

The documentation states that you

3条回答
  •  旧时难觅i
    2021-02-01 07:29

    After updating my docker docker-machine command stopper working on my mac terminal.

    So found after updating my docker I'll have to reinstall docker-machine CLI just to get the latest version. Updated docker-machine to latest one using the command below helped me making docker-machine command working again.

    base=https://github.com/docker/machine/releases/download/v0.16.0 &&
    curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/usr/local/bin/docker- 
    machine &&
    chmod +x /usr/local/bin/docker-machine
    

    See Docs (https://docs.docker.com/machine/install-machine/#install-machine-directly)

提交回复
热议问题