logoalt Hacker News

fragmedelast Wednesday at 11:01 PM2 repliesview on HN

The other thing to note is that docker is for the most part, stateless. So if you're running something that has to deal with questionable user input (images and video or more importantly PDFs), is to stick it on its own VM and then cycle the docker container every hour and the VM every 12, and then still be worried about it getting hacked and leaking secrets.


Replies

Koffiepoederlast Thursday at 7:16 AM

If I can get in once, I can do it again an hour later. I'd be inclined to believe that dumb recycling is not very effective against a persistent attacker.

show 1 reply
tgtweaklast Thursday at 5:17 AM

Most of this is mitigated by running docker in an LXC containers (like proxmox does) which grants a lot more isolation than docker on it's own - closer in nature to running separate VMs.

show 1 reply