VSCode dev container settings #912
Replies: 4 comments 4 replies
-
|
Experiencing the same situation. |
Beta Was this translation helpful? Give feedback.
-
|
I'm interested in using this for dev containers too, did you ever get it working? |
Beta Was this translation helpful? Give feedback.
-
|
I just tried it, seemed to work for me: container create --name swift-ntp-dev --cpus 8 --memory 8g -d -v "${PWD}:/workspace" -w /workspace swift:6.2.3 sleep 3600000
container start swift-ntp-dev
code .
|
Beta Was this translation helpful? Give feedback.
-
For me it seemed that most of the UI and infra in the VS Code Remote containers extension is still oriented around Docker being in use and available. Any actual integration seems to be still missing from the UI, except that as @jglogan notes above there's a "Dev Containers: Attach to Running Apple Container..." available in the command palette. I don't think this will help:
Even when putting the full path (via All that to say, for me adding only the That's for a very limited definition of "work" and the Containers extension seems to still very much want a working install of either a Docker or Podman runtime backing the UI panel you'd normally use. But you can leave that whole panel broken and just ignore it; the "Attach to Running Apple Container" command seems to be the only working entrypoint anyway. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm trying to use vscode dev containers support for apple containers. I've enabled the experimental stuff and I can see attach to running container in the command palette however, when I open the solution it's prompting me to me to open the project in a dev container as I have a dev container json file.
When I try to run it, it's asking for docker.
I put this in my settings:
{ "remote.autoForwardPortsSource": "hybrid", "dev.containers.experimentalAppleContainerSupport": true, "dev.containers.dockerPath": "container", "dev.containers.dockerComposePath": "container" }So I'm not sure how I'm supposed to run this for dev containers in vscode? I've seen a load of articles about it but nobody explains the vscode settings in any detail.
I get the error:
Command not found: 'container'. Check the license for details.
however I have confirmed that container works from the command line, even in vscode:
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions