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

Ubuntu-22: Update entrypoint to run as non-root on macOS #93

Closed
wants to merge 1 commit into from

Commits on May 24, 2024

  1. Ubuntu-22: Update entrypoint to run as non-root on macOS

    On macOS (and Windows), docker containers run as a more heavyweight VM
    unlike on Linux. One effect of this is that the code in the entrypoint
    script will see the UID and GID of the home directory as 0 and try to
    create a user with UID 0.
    
    Work around this limitation by allowing users to pass in the UID and
    GID when running the container. Update the Readme.md to suggest
    using `$(id -u)` and `$(id -g)`.
    
    Signed-off-by: Rebecca Cran <[email protected]>
    bexcran committed May 24, 2024
    Configuration menu
    Copy the full SHA
    c2d5b9a View commit details
    Browse the repository at this point in the history