Repository for Dev Container Templates that are managed by Dev Container spec maintainers. See https://github.com/devcontainers/template-starter to create your own!
I find an issue with the VSCode Dev Container template image trying to create files in the /root directory within the container using the vscode username. Here's the error I received:
The /root directory has default permissions set to 700 in Ubuntu 22.04.4 LTS, which caused this error.
After modifying the /root directory permissions, I found that the Dev Container extension is able to create the /root/.vscode-server directory within the container. Everything works fine now, and I can happily use the Dev Container extension.
So I want to know why this happened ?what caused this?
I find an issue with the VSCode Dev Container template image trying to create files in the
/root
directory within the container using the vscode username. Here's the error I received:The
/root
directory has default permissions set to700
in Ubuntu 22.04.4 LTS, which caused this error.After modifying the
/root
directory permissions, I found that the Dev Container extension is able to create the/root/.vscode-server
directory within the container. Everything works fine now, and I can happily use the Dev Container extension.So I want to know why this happened ?what caused this?
Environment Information
VSCode Version:
Host:
Podman Version:
Test Docker Templates Image Mirror Address: