VSCode dev container settings #912
Unanswered
TheDevelolper
asked this question in
Q&A
Replies: 3 comments
-
|
Experiencing the same situation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I'm interested in using this for dev containers too, did you ever get it working? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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