Rails, Docker: Host does not exist: “default”

前端 未结 4 1208
耶瑟儿~
耶瑟儿~ 2021-01-30 08:42

When I try to run docker-machine start default , I get Host does not exist: \"default\", I tried eval \"$(docker-machine env default)\", b

4条回答
  •  太阳男子
    2021-01-30 09:19

    In case you run

    docker-machine ls
    

    and it lists default but running docker-machine kill default and docker-machine stop default both complain that it doesn't exist, try to remove it completely and setup again:

    docker-machine rm default
    docker-machine create default
    

    (had this weird issue on Windows with virtualbox)

提交回复
热议问题