Skip to content

Instantly share code, notes, and snippets.

@ichux
Created April 15, 2025 11:49
Show Gist options
  • Save ichux/cfc2c5007631abd9d0f8f5c4bd9ab3c2 to your computer and use it in GitHub Desktop.
Save ichux/cfc2c5007631abd9d0f8f5c4bd9ab3c2 to your computer and use it in GitHub Desktop.
docker run --rm debian:bullseye-slim getent passwd 1000
docker run --rm debian:bullseye-slim getent passwd ubuntu
docker run --rm nginx:latest getent passwd nginx
docker run --rm nginx:latest getent passwd 101
docker run --rm nginx:latest bash -c "useradd ichux && getent passwd ichux"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment