Permission Issues with VSCode Dev Containers #26451
Unanswered
CrosleyZack
asked this question in
Q&A
Replies: 1 comment
-
Your example uses the container image postgres:17-alpine I analysed that image with the following commands:
Maybe it would start to work if you pass the argument Here are two examples where a local directory is bind-mounted. Example 1: change ownership of the directory beforehand
Example 2: use
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to improve and generalize my develop setup with Dev Containers + Podman + Test Containers. I am running into some permission issues though. Specifically, running test container tests in a simple example I get a permissions error in the container. It does create the container successfully, but
podman logs ...
shows error:This example worked without dev containers, but dev containers supposedly inherits your user UID and GID, so the permissions errors are strange. I have tried explicitly setting userns and privileged with no success.
The output of podman inspect shows:
which looks like the route issue
Beta Was this translation helpful? Give feedback.
All reactions