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

Docker share guides: Match correct uid:gid of "ziggy" (UID 2171) in zrok container image for docker compose in guides #625

Closed
kharish89 opened this issue May 18, 2024 · 0 comments · Fixed by #631

Comments

@kharish89
Copy link
Contributor

I'm following the docker private and public share documentation here

Private share:
https://docs.zrok.io/docs/guides/docker-share/docker_private_share_guide/
https://docs.zrok.io/zrok-private-share/compose.yml
https://docs.zrok.io/zrok-private-access/compose.yml

Public share:
https://docs.zrok.io/docs/guides/docker-share/docker_public_share_guide/
https://docs.zrok.io/zrok-public-reserved/compose.yml

Looks like the recent release v0.4.30 has change to make the container default user to 'ziggy'

CHANGE: the container images run as "ziggy" (UID 2171) instead of the generic restricted user "nobody" (UID 65534). This reduces the risk of unexpected file permissions when binding the Docker host's filesystem to a zrok container.

Here's what I did:

  • Downloaded the example compose file
  • Updated the user info in busybox to match the zrok container user
  • Updated value from 65534 : 65534 (user 'nobody') to 2171:2171 (user 'ziggy')

It would be nice to update the documentation or FAQ to reflect with the changed user details

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