Hacker News new | ask | show | jobs
by rafaelgoncalves 490 days ago
yeah, docker and permissions always a pain. you tried passing --user or through compose? [1]:

  my-service:
    image: ubuntu:latest
    user: ${MY_UID}:${MY_GID}
    volumes:
      - /etc/passwd:/etc/passwd:ro
      - /etc/group:/etc/group:ro

[1] https://stackoverflow.com/a/71027261

hope this helps/solves

1 comments

Interesting. This should've been resolved with this PR: https://github.com/bewcloud/bewcloud/pull/42/files#diff-e45e...
ohh, nice! thanks for the info Bruno!