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

Command failure when opening project in container #2

Open
IoT-Kid opened this issue Mar 14, 2021 · 1 comment
Open

Command failure when opening project in container #2

IoT-Kid opened this issue Mar 14, 2021 · 1 comment

Comments

@IoT-Kid
Copy link

IoT-Kid commented Mar 14, 2021

I have followed the learning module here and I get the following outcome when trying to open the project in a container:

Command failed: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=c:\directory to folder\mslearn-python-products,target=/workspaces/mslearn-python-products,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l vsch.local.folder=c:\directory to folder\mslearn-python-products -l vsch.quality=stable -l vsch.remote.devPort=0 --entrypoint /bin/sh vsc-mslearn-python-products-05e09896b111b72fedda0caeeec92b28 -c echo Container started ; trap "exit 0" 15; while sleep 1 & wait $!; do :; done

Any ideas how this could be resolved?

@burkeholland
Copy link
Collaborator

Sorry for the delay in response. Can you check and make sure that you've allowed Docker access to this specific folder?

  1. Right-click on the Docker task bar item, select Settings > Resources > File Sharing and add the location where you cloned the sample project in the previous step. This option is not available if you have enabled the WSL 2 back-end.

image

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

2 participants