-
Notifications
You must be signed in to change notification settings - Fork 536
Docker run fails with "read-only file system" #749
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
Comments
@farzadmf What version of Docker is installed? Is it the "snap" ( |
@philliphoff I installed it using |
@farzadmf From the error message, it may be related to the use of the snap version of Docker, which seems to have issues creating volumes that mount outside of the user's home directory. (The Docker extension adds a volume during debugging that mounts to the NuGet package fallback folder on the local machine.) I'm trying to setup a VM with that same configuration to confirm that; in the meantime, you may have more luck with the "standard" Docker installation. |
Thank you @philliphoff for your answer, I did what you suggested, and actually, the "standard" Docker installation seems to have a more recent version. BUT, now I have a very annoying problem that I don't know how to solve; if you could somehow help me with this, I would really appreciate it. So, I installed docker using
Do you have any idea why that's happening? I'd appreciate if you help me |
Thank you @philliphoff for the link. It might have been an issue with groups/users etc. I looked at "Linux post-installation steps" in Docker docs, tried a few commands, restarted a few times, and it seems to be working now. As for VSCode, it WAS installed using And, now that those things are fixed, I tried again with VSCode to run docker, and I get this message:
And when I do Any ideas? |
@philliphoff Any comment/suggestion on this please? |
Hmmm, can you verify that the container has both |
Thank you @philliphoff for your answer, I'll try to find out what's happening |
Hi @philliphoff , as it turns out, the reason for that message was that I was using Also, the Is there an ETA when that setting will be available? Thank you |
@farzadmf We expect a new release in about 2 weeks. |
@farzadmf Alpine-based images require a different variant of the .NET Core debugger so we'd need some logic to detect which variant is required for a given image. I'll add an issue specifically to add that support (but can't yet answer when that might become available). |
Added #765 for Alpine image support. |
@StephenWeatherford and @philliphoff thank you both for your help. I'll close this one as it seems to be resolved :) |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm on Ubuntu 18.10, and I'm trying to run a .NET Core project in VSCode with to Dockerfile being added by running the command `Docker: Add Docker Files to Workspace".
Here's my configuration
And, a screenshot of my project structure:

And, my (auto-generated) Dockerfile:
But when I try to start the project, I see this error in my output window:
Am I missing something here?
It may be worth mentioning that on my machine, I can run
docker
commands withoutsudo
Thank you.
The text was updated successfully, but these errors were encountered: