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
There could be some more things here, e.g. you likely need to create the user in the local environment (see https://stackoverflow.com/questions/67261873/building-docker-image-as-non-root-user)
Finally - Many docker images that allow custom users, actually have "flags", even ENV flags, which will allow you to control the UID/GID and username in the container, e.g. if you want to line it up with the local users and shared volumes. (can't find link just now).
Additionally, when using shared-volumes (e.g. docker-image as a development tool), there's a set of things you can do so that files generated use the local user, e.g. https://github.com/open-telemetry/weaver/blob/main/docs/docker-guide.md#basic-usage---otel-semconv-codegen
Finally - Many docker images that allow custom users, actually have "flags", even ENV flags, which will allow you to control the UID/GID and username in the container, e.g. if you want to line it up with the local users and shared volumes. (can't find link just now).
Originally posted by @jsuereth in #66 (comment)
The text was updated successfully, but these errors were encountered: