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
Example ocaml/opam2 image - uses hardcoded 1000 user. If you replace it with docker --user $PID, opam is not initialized anymore.
I can anticipate similar issues for non-root containers. Semantics of working with Docker should be thought through better.
The text was updated successfully, but these errors were encountered:
igor-petruk
changed the title
Fix docker build when UID in the host and in container mismatch.
Fix docker build when UID in the host mismatches hardcoded UID in container, e.g. ocaml/opam2
Nov 11, 2019
Example
ocaml/opam2
image - uses hardcoded 1000 user. If you replace it withdocker --user $PID
, opam is not initialized anymore.I can anticipate similar issues for non-root containers. Semantics of working with Docker should be thought through better.
The text was updated successfully, but these errors were encountered: