Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(docker): Add ID mapping to docker commands #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gumbo2k
Copy link

@gumbo2k gumbo2k commented Jul 9, 2024

Without this, the workspace files are created with uid/gid 0 and thus belong to "root". They can then not be edited by the user who invoked the docker command in the first place.

Without this, the workspace files are created with uid/gid 0 and
thus belong to "root". They can then not be edited by the user
who invoked the docker command in the first place.
@gumbo2k
Copy link
Author

gumbo2k commented Aug 23, 2024

I've just found the hidden feature to USE_SYSTEM_CA_CERTS .
When using the uid:gid mapping as I proposed in this PR, then the USE_SYSTEM_CA_CERTS feature breaks.
I think I'll have to incorporate the uid:gid mapping by passing this as an ENV variable to the container, and changing uid:gid at the last moment (when running exec "$@" in /__cacert_entrypoint.sh )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant