FG
💻 Software☁️ Cloud & DevOpsDocker

ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

Freshabout 9 years ago
Mar 14, 20260 views
Confidence Score77%
77%

Problem

I know that there is another issue of the same type but the other issue is closed and I tried all the solutions proposed but with no effect. still not working: [code block] I'm part of the docker group I'm using also sudo The process is up The DOCKER_HOST variable is unset or 127.0.0.1 Reconnected the user Restarted the server I think that I've tried all the possible configurations am I right? ------- Specs: OS: Ubuntu 14.04.04 on Virtualbox on Windows 10 Home. Docker version 1.12.3, build 6b644ec ------ Thank You!

Error Output

ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
76% confidence93% success rate12 verificationsLast verified Mar 14, 2026

Solution: ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

Low Risk

Have you tried without `sudo`? You shouldn't need it and it could be messing things up in your case. Also, what do you see when you run `docker info`?

76

Trust Score

12 verifications

93% success
  1. 1

    Have you tried without `sudo`? You shouldn't need it and it could be messing thi

    Have you tried without `sudo`? You shouldn't need it and it could be messing things up in your case. Also, what do you see when you run `docker info`?

Validation

Resolved in docker/compose GitHub issue #4181. Community reactions: 1568 upvotes.

Verification Summary

Worked: 12
Partial: 2
Failed: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

dockerdocker-composecontainerskind/question