最後活躍 1705433112

VS Code with rootless podman

devcontainer.json 原始檔案
1// ...
2 "remoteUser": "xxx",
3 "containerUser": "xxx",
4 "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,Z",
5 "workspaceFolder": "/workspace",
6 "runArgs": ["--userns=keep-id"]
7
8// For rootless podman, root inside container:
9 "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,Z",
10 "workspaceFolder": "/workspace"