Reopening in container fails even though the image builds and runs successfully. #203
Unanswered
SnoozingSimian
asked this question in
Q&A
Replies: 1 comment
-
|
Hi there, thanks for filing this, and sorry to hear about the trouble. Do you still experience this in the latest version of VS 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.
-
I am trying to set up a go development environment, which is pretty simple for now.
My Dockerfile looks like this:
And my devcontainer.json file looks like this:
{ "name": "API Manager Dev Environment", "image": "go-dev:0.0.2", "forwardPorts": [ 8080 ], "mounts": [ "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached" ], "remoteUser": "vscode", "customizations": { "vscode": { "extensions": [ "golang.go" ], "settings": { "go.useLanguageServer": true, "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": "always" } } } }, "postCreateCommand": "go version && echo 'Go development container is ready!'" }I have successfully built the image and can use docker to access it, however, every time I try to run the "Reopen in Container" command, I get the following log.
This should be pretty simple to fix, but I'm at my wits end. What am I doing wrong? Please let me know if there any other information I can provide to help resolve this. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions