request: XDG_RUNTIME_DIR for the default docker cli rootless binary
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker
- Domain
- cli, operating-systems
Research direction
Start by locating the Docker CLI's default connection selection for rootless use, including handling of DOCKER_HOST, --context, and XDG_RUNTIME_DIR. Compare the existing default with the rootless socket behavior described in the issue, then verify that explicit hosts and contexts remain unchanged and that the default resolves to the requested socket.
Written by the indexing model from the issue text.
Description
Hi,
Can the docker rootless cli defaults to connect to $XDG_RUNTIME_DIR/docker.sock
instead of /var/run/docker.sock if no DOCKER_HOST or --context, and relatives defined?
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Build with BuildKit (Docker Inc., v0.6.3)
Server:
ERROR: Cannot connect to Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
it make sense as this is for rootless..
similar to podman approach -
"path defaults to either /run/podman/podman.sock, or /run/user/<uid>/podman/podman.sock if running rootless."
Thanks.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/docker-install
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
docker/docker-install#575 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#559 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
docker/docker-install#548 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
docker/docker-install#540 ·
All issues in docker/docker-install
Similar issues
-
good-start
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
VilnaCRM-Org/user-service#497 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conda-forge/spacy-feedstock#177 ·
-
area:jail bug security severity:low track:open-source
Difficulty 1/5 Under an hour Newbie friendliness 75/100