This repository was archived by the owner on Jul 19, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 83
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
Cannot connect to the Docker daemon #289
Copy link
Copy link
Closed
Description
Both ksync init and ksync doctor fail with the following error: rpc error: code = Unknown desc = Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
However, docker ps works, I can connect Docker containers to the Docker host by mounting /var/run/docker.sock, and the current user is in the docker group.
More information:
$> docker version
Client:
Version: 18.09.5-ce
API version: 1.39
Go version: go1.12.3
Git commit: e8ff056dbc
Built: Fri Apr 12 08:22:13 2019
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.09.5-ce
API version: 1.39 (minimum version 1.12)
Go version: go1.12.3
Git commit: e8ff056dbc
Built: Fri Apr 12 08:21:24 2019
OS/Arch: linux/amd64
Experimental: false
$> ksync version
ksync:
Version: Release
Go Version: go1.12.1
Git Commit: c27ce95
Git Tag: 0.3.6
Built: Mon Mar 18 17:06:42 +0000 2019
OS/Arch: linux/amd64
service:
Version: Release
Go Version: go1.12.1
Git Commit: c27ce95
Git Tag: 0.3.6
Built: Mon Mar 18 17:02:16 +0000 2019
$> ls -ahl /var/run/docker.sock
srw-rw---- 1 root docker 0 Apr 30 06:12 /var/run/docker.sock
$> ksync doctor
Extra Binaries ✓
Cluster Config ✓
Cluster Connection ✓
Cluster Version ✓
Cluster Permissions ✓
Cluster Service ✓
Service Health ✓
Service Version ✓
Docker Version X
rpc error: code = Unknown desc = Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I've installed ksync using the gimme.sh script.
fkaleo, optimus-kart, perguth and AlexXi19
Metadata
Metadata
Assignees
Labels
No labels