Throwing all files in a .dot directory -- does it improves security of a docker container?

GustavoM@lemmy.world to Linux 101 stuff. Questions are encouraged, noobs are welcome!@lemmy.world – 8 points –

Title. In other words, make a .dot directory, make it as $ROOTFS, in a distroless image, chown it to a specific user and group and then pack everything in it.

3

What do you mean by security of the docker container? Security from who?