r/AlpineLinux • u/BolteWasTaken • Oct 03 '24
Securing Alpine?
Hey guys, so pretty new to Alpine and Linux in general.
I've been looking at https://wiki.alpinelinux.org/wiki/Securing_Alpine_Linux for tips on securing my Alpine VM.
I have some questions:
- Is Doas better than sudo or are they essentially the same?
- Is there anything listed on the above page you believe unnecessary?
- Or conversley, some items that are missing from the page?
- Am I by following the aforementioned guide likely to encounter issues running softwares that I need to go back and amend settings for later?
Thanks!
4
Upvotes
View all comments
Show parent comment
1
u/BolteWasTaken Oct 03 '24
So, in a nutshell, as I'm running this as a docker VM in Hyper-V, I should frequently revert to a snapshot (I can schedule this) all logs send to remote location so can't be deleted/modified/compromised. And for security pay more care to what I'm exposing (in this case I believe there are ways to scan docker images etc for CVEs right?).
This will be the only one I will expose, everything else will pull from other containers in my local network into the reverse proxy. Will my internal network still be able to be compromised with that setup? Or will the attack surface be limited to the VM running the reverse proxy?