News for hackers. Stuff that matters.
Re:Dockerfile Security Best Practices by krimeo on Thursday October 15, 2020 @12:57AM (#24785089)
Isn't docker running on OS X in VM anyway?
Re:Dockerfile Security Best Practices by bruce_one on Thursday October 15, 2020 @01:44AM (#24785272)
Yes it does, but it's very transparent - until you run into a few things that make it obvious, eg if you disk-image size limits, or memory limits.

I work with a few people who believed it was native, and used it for quite a while, until things started going wrong and we logged in to the vm to fix them.

Re:Dockerfile Security Best Practices by krimeo on Thursday October 15, 2020 @09:37AM (#24788507)
Kinda my point. The reason docker is popular is simply that most of the devs are lazy, not very knowledgeable in the actual underlying technology and very short-sighted.

And docker marketing has very effectively used that to their advantage.

Re:Dockerfile Security Best Practices by scns on Thursday October 15, 2020 @02:23AM (#24785460)
Yes it is, but docker for desktop runs it for you. You could use LXD etc by running Linux yourself in a virtualisation solution of your choice like VirtualBox or VMWare.
Re:Dockerfile Security Best Practices by krimeo on Thursday October 15, 2020 @09:35AM (#24788488)
Yeah, that's my point.

On Linux you are going to run docker in VM anyway if you care a bit about security, but I know that almost all devs run docker directly on their laptops and with the user's full access to docker - ie. their user effectively becomes user. Without second thought ...

Re:Dockerfile Security Best Practices by krimeo on Thursday October 15, 2020 @09:38AM (#24788518)
* becomes root, of course