Container tools without using the root user.
500K+
I had a need for an image with some container tools in it which doesn't run as root. So this is it :)
Based on alpine to keep the image nice and small. We've got some tricks which are embedded into the image and could be useful.
There's a SetUID root bash shell at /bin/setuidbash invoke with /bin/setuidbash -p to get to root (unless the container blocks privilege escalation)
The busybox binary also has all the default Docker capabilities added to it, so you can do things like change permissions on files owned by root :)
docker run -it raesene/alpine-noroot-containertools /bin/sh
Content type
Image
Digest
sha256:115a85036…
Size
182.4 MB
Last updated
3 days ago
docker pull raesene/alpine-noroot-containertools