Trying to use Podman with Development Containers without first modifying the devcontainer.json
results in access denied errors within the container.
Add the following to devcontainer.json
.
"runArgs": [
"--userns=keep-id",
"--security-opt=label=disable"
],
"containerEnv": {
"HOME": "/home/vscode" // TODO: change to the directory of the default user in the container
},
jsonRelated issues: