mleku on Nostr: i just discovered that installing the docker desktop app places things in a folder ...
i just discovered that installing the docker desktop app places things in a folder ~/.docker that causes commands invoking docker to look there for the docker socket.
docker: Cannot connect to the Docker daemon at unix:///home/me/.docker/desktop/docker.sock. Is the docker daemon running?.
of course, the socket is /var/run/docker.sock for a standard system installation.
rm -rf ~/.docker
and it then tries to connect to the socket in /var/run instead.
#docker
Published at
2023-11-06 06:50:17Event JSON
{
"id": "83bad925c515922eedf589b07f4b7c65f5761229fd3149e1be607edd71116a2f",
"pubkey": "dff36e5ee6003413b8a6a2615d1712b453c289dee057c90e9416c3cbde553f22",
"created_at": 1699253417,
"kind": 1,
"tags": [
[
"t",
"docker"
]
],
"content": "i just discovered that installing the docker desktop app places things in a folder ~/.docker that causes commands invoking docker to look there for the docker socket.\n\n docker: Cannot connect to the Docker daemon at unix:///home/me/.docker/desktop/docker.sock. Is the docker daemon running?.\n\nof course, the socket is /var/run/docker.sock for a standard system installation.\n\n rm -rf ~/.docker\n\nand it then tries to connect to the socket in /var/run instead.\n\n#docker",
"sig": "39eaa68e7450cd0c3d5acb33ab8344f62b23691be27668c64540c9e741e4ef804d84e393d7258f081db2d9376e88f61b6e6600ebe167a77651af28accf6d4c18"
}