Skip to content
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

Error: An error occurred setting up the container. #49

Closed
BillmanH opened this issue Jun 26, 2022 · 1 comment
Closed

Error: An error occurred setting up the container. #49

BillmanH opened this issue Jun 26, 2022 · 1 comment

Comments

@BillmanH
Copy link

Testing the New IoT Edge Solution, really, I just want the base code for an edge module.

Standard and updated versions.
image

[2022-06-26T15:57:11.342Z] Stop (321 ms): Run in container: /bin/sh
[2022-06-26T15:57:11.343Z] Shell server terminated (code: 1, signal: null)
[2022-06-26T15:57:11.343Z] Error response from daemon: Container 13829cc1782be765c99a20645a1952ce10dab6bcdf243996d3cf56fdd5992358 is not running
[2022-06-26T15:57:11.343Z] Start: Run in container: cat /etc/passwd
[2022-06-26T15:57:11.343Z] Stdin closed!
[2022-06-26T15:57:11.344Z] Error: An error occurred setting up the container.
[2022-06-26T15:57:11.344Z]     at NR (c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js:239:1572)
[2022-06-26T15:57:11.344Z]     at Jy (c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js:239:1510)
[2022-06-26T15:57:11.344Z]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-06-26T15:57:11.344Z]     at async zR (c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js:245:2006)
[2022-06-26T15:57:11.344Z]     at async nb (c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js:245:3110)
[2022-06-26T15:57:11.344Z]     at async JR (c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js:245:13046)
[2022-06-26T15:57:11.344Z]     at async KR (c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js:245:12802)
[2022-06-26T15:57:11.351Z] Stop (4236 ms): Run: C:\Users\william.harding\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\william.harding\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --workspace-folder c:\Users\william.harding\Documents\repos\personalstack\New folder\modules --workspace-mount-consistency cached --id-label devcontainer.local_folder=c:\Users\william.harding\Documents\repos\personalstack\New folder\modules --log-level debug --log-format json --config c:\Users\william.harding\Documents\repos\personalstack\New folder\modules\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2022-06-26T15:57:11.351Z] Exit code 1
[2022-06-26T15:57:11.354Z] Command failed: C:\Users\william.harding\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\william.harding\.vscode\extensions\ms-vscode-remote.remote-containers-0.238.2\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\william.harding\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --workspace-folder c:\Users\william.harding\Documents\repos\personalstack\New folder\modules --workspace-mount-consistency cached --id-label devcontainer.local_folder=c:\Users\william.harding\Documents\repos\personalstack\New folder\modules --log-level debug --log-format json --config c:\Users\william.harding\Documents\repos\personalstack\New folder\modules\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2022-06-26T15:57:11.354Z] Exit code 1

I think there might be an issue with docker file sharing local directories. That's just a hunch because the error is pretty ambiguous.

Any thoughts here as to what I could try?

@BillmanH
Copy link
Author

BillmanH commented Nov 5, 2022

that I'm the only one having this issue, closing just for cleanup and maintenance. Opened a new SO post here: https://stackoverflow.com/questions/74296595/running-default-eventhub-function-returns-unexpected-status-code-400

@BillmanH BillmanH closed this as completed Nov 5, 2022
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

No branches or pull requests

1 participant