Skip to content

Enable access to Docker & Podman socket#340

Closed
tomaswarynyca wants to merge 1 commit into
masterfrom
docker-podman-sockets
Closed

Enable access to Docker & Podman socket#340
tomaswarynyca wants to merge 1 commit into
masterfrom
docker-podman-sockets

Conversation

@tomaswarynyca
Copy link
Copy Markdown
Collaborator

Maybe fixes #336

@flathubbot
Copy link
Copy Markdown
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Copy Markdown
Contributor

🚧 Started test build.

@flathubbot
Copy link
Copy Markdown
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/271969/dev.zed.Zed.flatpakref

Built for aarch64 and x86_64 architectures.

@blue42u
Copy link
Copy Markdown

blue42u commented Apr 6, 2026

This doesn't seem to be a complete fix, I'm still getting "docker CLI not found on $PATH" on the test build:

... ERROR [dev_container::devcontainer_api] Unable to find docker in $PATH: Os { code: 2, kind: NotFound, message: "No such file or directory" }
... ERROR [recent_projects::remote_servers] Failed to start dev container: DockerNotAvailable

Comment thread dev.zed.Zed.yaml
# Prevent Zed from escaping the sandbox by default
- --env=ZED_FLATPAK_NO_ESCAPE=1
# Enable access to Docker & Podman socket
- --filesystem=/run/docker.sock:rw
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You only need --filesystem=xdg-run/docker and --filesystem=xdg-run/podman for this to work.

@tomaswarynyca tomaswarynyca deleted the docker-podman-sockets branch April 25, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Devcontainers are unusable in sandboxed mode

4 participants