You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the python copier template developer container and you have docker (or rootful podman) then it does not work as intended:
GOOD: it loads and you can work on the project and run tests
BAD: massively insecure as you are running as true root
UGLY: project files get written by root and the git gets really angry
There used to be a workaround to this in devcontainer.json
"remoteUser": "${localEnv:VSCODE_REMOTE_USER}"
docker users were then expected to set VSCODE_REMOTE_USER=$(id -u):$(id -g) in their bashrc.
podman users need do nothing as blank == default == root which is just right in a a rootless container.
Not ideal. But it was the best I could come up with.
The text was updated successfully, but these errors were encountered:
If you use the python copier template developer container and you have docker (or rootful podman) then it does not work as intended:
There used to be a workaround to this in devcontainer.json
docker users were then expected to set VSCODE_REMOTE_USER=$(id -u):$(id -g) in their bashrc.
podman users need do nothing as blank == default == root which is just right in a a rootless container.
Not ideal. But it was the best I could come up with.
The text was updated successfully, but these errors were encountered: