-
Notifications
You must be signed in to change notification settings - Fork 300
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
Remote - Containers Add support for Docker Toolbox #95
Comments
I am also experiencing the same issue using the vscode-remote-try-python. I am using Docker Toolbox on Windows 10 Home. VSCode Version 1.34.0-insider (user setup)
|
Upon further investigation it does seem like the issue is a path issue when trying to mount local directory through VirtualBox VM that is running the container. I found a work around using docker compose. I am using docker-compose version 1.20.1
version: '3'
services:
web:
build:
context: ..
# Location is relative to folder containing this compose file
dockerfile: .devcontainer/Dockerfile
volumes:
- ..:/workspace
command: sleep infinity
{
"name": "Python Sample",
"dockerComposeFile": [
"docker-compose.yml"
],
"service": "web",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"extensions": [
"ms-python.python"
]
}
docker-compose is able to mount the volumes correctly through the Virtual Box VM to the newly built container. To get regular Docker Toolbox to work I think the path needs to be |
We currently do not support Docker Toolbox on @Chuxel fyi @alexandrudima got it up and running, but we did not document it yet and we do not test in this setup. So we should document it as not supported currently. |
@egamma Added to docs and READMEs and will go out next push. Removed "docs" and unassigned myself since I assume we want to keep this around for the broader feature request. |
Docker for windows is a little invasive. I don't want to require our developers to install it. |
@loverdeg-ep Have you checked https://code.visualstudio.com/docs/remote/containers-advanced#_developing-inside-a-container-on-a-remote-docker-host? |
I am also experiencing the same issue. Running Docker Desktop on Windows 10 Enterprise. I just today installed: A) VSCode 1.35.0 and B) Remote Development Pack. Error is can be replicated every time in three steps:
After the above Docker Desktop prompts:
I click on [Share it] Then Visual Studio Code prompts:
Here is the console output:
|
@tolgabalci Your issue is different: docker/for-win#738 suggests to check your firewall and disable any VPN. docker/for-win#738 (comment) seems to have helped a few users too. |
So I'm seeing the error as well on Docker Desktop
The problem it poses for me is that all the file permissions are changed and git thinks ALL files have been changed. |
I ran into this same problem. At first, I had a project with a I opened up the same exact project copied to outside my personal folder space (D:/vscode/project basically) and that fixed everything. This might be a Windows file path issue. |
Steps to Reproduce:
Remote-Containers: Open Folder in Container...
Python 3 - Miniconda
.You will get a message saying
An error occurred setting up the container.
. This is the output from the terminal:I think the issue may be related to this question on Stackoverflow.
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
The text was updated successfully, but these errors were encountered: