New Install on Ubuntu 18 of Docker CE and Docker Compose - ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`

When I try docker-compose up. I’ve done this a few times already using the instructions here…


Docker compose installation

So no idea why it’s not working as expected now. If i try what the error suggests, I get another error saying there is no default.

If I check verbose logs…

  File "compose/cli/", line 97, in get_client
  File "site-packages/docker/api/", line 181, in version
  File "site-packages/docker/utils/", line 46, in inner
  File "site-packages/docker/api/", line 198, in _get
  File "site-packages/requests/", line 537, in get
  File "site-packages/requests/", line 524, in request
  File "site-packages/requests/", line 637, in send
  File "site-packages/requests/", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', PermissionError(13, 'Permission denied'))
[2450] Failed to execute script docker-compose

Anyone know why this might be the case?

I can’t delete the post but figured it out…

sudo docker-compose up