5 ms·
I don't understand why someone would want to run docker on Mac OSX (or Windows) in a VM. Is there a way to set up the VM so it doesn't lock memory and processor
by thecolorblue 6y ago
I don't understand why someone would want to run docker on Mac OSX (or Windows) in a VM. Is there a way to set up the VM so it doesn't lock memory and processors?
- thecolorblue 6y agoI have been running docker on a 10 year old desktop, running ubuntu, which I ssh into. The code lives on the desktop which I edit over ssh. The desktop can still handle running a db and server, and I don't tie up resources on my laptop. I keep looking for a better solution but this works the best.
- mnd999 6y agoI'm pretty sure that's the only way to run it on Mac OSX. Sure, you can have fancy tools to hide the VM and make it less visible (Docker Desktop), but it's still there.
- pjmlp 6y agoOn Windows yes, use Windows containers instead.
- gitweb 6y agoWindows containers are Windows specific, and the base image is like 1+ GB. I think the best solution is run Linux cause that is what containers were created for and are the most performant on.
- pjmlp 6y agoContainers were created in the 60's for mainframes, Linux doesn't have anything to do with them.
- evacchi 6y agothat's interesting do you have any literature to share on that?
- pjmlp 6y agoSure, You can start here for an historical perspective, https://www.zdnet.com/article/ibm-mainframe-containers-grow-more-secure/ https://www.zdnet.com/article/ibm-mainframe-containers-grow-... Then read about MFT and MVT here https://en.wikipedia.org/wiki/OS/360_and_successors https://en.wikipedia.org/wiki/OS/360_and_successors https://community.ibm.com/community/user/imwuc/browse/blogs/blogviewer?BlogKey=84f064d4-cdf8-49b3-b8a7-6e84dfde0c63 https://community.ibm.com/community/user/imwuc/browse/blogs/... You can eventually also delve into the world of IBM i, z/OS and Unisys ClearPath MCP. In what concerns UNIX clones, HP-UX Virtual Vault (which I used in the 2000's, however docs are hard to get freely online, after it got replaced by HP-UX Security Containment) https://en.wikipedia.org/wiki/HP-UX https://en.wikipedia.org/wiki/HP-UX ftp://ftp.hp.com/pub/security/VVSCdepots/VVSCAdminGuide.pdf https://myenterpriselicense.hpe.com/cwp-ui/free-software/SecurityExt https://myenterpriselicense.hpe.com/cwp-ui/free-software/Sec... Solaris Zones https://en.wikipedia.org/wiki/Solaris_Containers https://en.wikipedia.org/wiki/Solaris_Containers FreeBSD jail https://www.freebsd.org/doc/handbook/jails.html https://www.freebsd.org/doc/handbook/jails.html AIX LPAR https://sort.veritas.com/public/documents/sfha/6.0.1/aix/productguides/html/sfhas_virtualization/ch01s01.htm https://sort.veritas.com/public/documents/sfha/6.0.1/aix/pro... Tru64 http://www2.phys.canterbury.ac.nz/dept/docs/manuals/unix/DEC_5.0a_Docs/HTML/ARH8XBTE/TITLE.HTM http://www2.phys.canterbury.ac.nz/dept/docs/manuals/unix/DEC... So while Linux containers are all over the place in 2020, Linux had zero influence in technology per se, and like Windows is just catching up with the mainframes and UNIX old timers already offered during the last couple of decades.
- gitweb 6y agoThey aren't all over the place, in fact they are far more advanced than whatever you're referring to. Containers on Linux have also existed for a long time: https://blog.aquasec.com/a-brief-history-of-containers-from-1970s-chroot-to-docker-2016 https://blog.aquasec.com/a-brief-history-of-containers-from-... The containerization solutions you're referring to didn't gain widespread adoption like Docker and Kubernetes because they weren't as polished and lacked features and functionality that is available today. Windows containers have a big image requirement, and most server-side software is already optimized for Linux so they aren't in high demand. Just take a look at Docker Hub and tell me how many Windows containers you find compared to Linux, especially the official images of the most common software.