Live data from Hacker News

Ask HN: Do you trust/install Docker in your personal computer?

news.ycombinator.com

1–10 of 23 posts

Ask HN: Do you trust/install Docker in your personal computer?

#1
I'm no longer using a separate computer from my employer and containers' security always worried me. Using VMs is very cumbersome in my opinion. I haven't used Docker in years, do you think it's safe enough now to install in your main computer (Linux host)? It's not like I'm going to test malware inside the containers but there's a lot of 3rd-party dependencies living there.

If you do trust Docker, what precautions would you take? Running without root is viable?

I'm aware of https://github.com/docker/docker-bench-security

Re: Ask HN: Do you trust/install Docker in your personal computer?

#8
post #7

What is your cause for concern?

Getting my pc compromised in any way. My data is very important for me, both personal and from clients. Or an attacker gaining access to my accounts or servers. I also don't like telemetry but that's outside this topic I guess.

Re: Ask HN: Do you trust/install Docker in your personal computer?

#10
post #2

I think most people are ok running docker on their laptop / personal / work machines. Running as non-root is totally viable, but root still seems to be the norm. You might look into configuring docker daemon to not open ports externally.

worth noting: for Docker Desktop (Mac and Windows), Docker itself is in a full VM, and not really the platform's root user.
Post reply on HN