-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman support for vscode:extension/ms-vscode-remote.remote-containers #7526
Comments
Hello, I wanted to add I am also experiencing this issue and found a Stack Overflow post with the exact same problem I am facing: As an aside, I was able to successfully develop in a container using Docker Desktop on my machine (Windows 11, WSL2 - Debian). While I haven't seen any formal Microsoft documentation on using "Remote - Containers" extension with Podman, I followed the steps outlined here: Thanks. |
You probably need to set the Podman socket for the VS Code Note however that Podman support for VS Code is a little glitchy, see #7175. (FYI I think the https://github.com/microsoft/vscode-remote-release repository is a better place for Podman questions than this one.) |
I've done in the way as @jeremyn described it. Activate rootless socket for user:
VS Code settings.json (
I still get the message from the extension: "Failed to connect. Is Docker running?" Ubuntu 22.04 x64 |
In addition to configuring dockerPath, dockerComposePath also needs to be set. The following configuration can make it work: {
"dev.containers.dockerPath": "/opt/podman/bin/podman",
"dev.containers.dockerComposePath": "/Users/xxx/.local/share/containers/podman-desktop/extensions-storage/compose/bin/docker-compose"
} Podman Desktop will add ability to install docker-compose binary system-wide later: |
Hi, I'm trying to build an application inside VS-Code and using podman for OCI not docker.
The extension
vscode:extension/ms-vscode-remote.remote-containers
presently as described/deployed here:
https://code.visualstudio.com/docs/remote/containers-tutorial
does not present work with podman (I don't alias docker to podman) and I'm hope to find a link to the best way to add//fix this code for my project
https://github.com/elasticdotventures/candi-date
The text was updated successfully, but these errors were encountered: