Ubuntu 16.04 - > ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`

前端 未结 15 2231
北恋
北恋 2021-02-03 17:48

I am getting error on ubuntu 16.04

\"ERROR: Couldn\'t connect to Docker daemon - you might need to run docker- machine start default. \"

15条回答
  •  无人共我
    2021-02-03 18:01

    I noticed that I got this error after installing docker-compose. Trying to runsudo docker-compose build gave me the error --

    ERROR: Couldn't connect to Docker daemon. You might need to install Docker

    I solved this by installing docker-ce (Ubuntu 16.04 and 18.04). Everything worked as expected thereafter

提交回复
热议问题