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

前端 未结 15 2185
北恋
北恋 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:13

    We need to restart the docker

    $ sudo service docker restart
    

    click here

    0 讨论(0)
  • 2021-02-03 18:15

    in my case , sometime you just need to use "sudo docker-compose up"

    0 讨论(0)
  • 2021-02-03 18:16

    After

    sudo snap install docker
    

    Following command worked for me

    docker-compose --verbose up -d
    
    0 讨论(0)
提交回复
热议问题