Creates and sets up custom OS user of any ID. Useful for BusyBox based images, like Alpine.
4.6K
For detailed information and examples visit:
https://github.com/theAkito/userdef
All images just exist to conveniently provide the binary in your Dockerfile.
Just FROM AS one image from this repository and copy the binary from /userdef to your image.
For examples, visit the source code.
The images are tiny, because they do not contain any operating system!
You are literally just getting the userdef binary from any of these images.
latestThe freshest image based on Alpine (musl).
*musl | alpineAll images based on Alpine (musl).
*libc | ubuntuAll images based on normal Linux, like for example Ubuntu (libc).
You most likely arrived here, because you need to fix the adduser situation on Alpine Linux:
https://stackoverflow.com/q/41807026/7061105
That's why the latest image and all the default images are based on Alpine.
If, for whatever reason, you want to use the binary inside an image using a normal Linux distribution, then use one of the libc annotated tags, to ensure compatibility.
Content type
Image
Digest
sha256:1648776fc…
Size
73.9 kB
Last updated
almost 3 years ago
docker pull akito13/userdef