4 ms·
The big thing Docker solves is repeatability and isolation. If you create a Docker instance on your Mac, you are more or less guaranteed it will work the same i
by ogre_codes 6y ago
The big thing Docker solves is repeatability and isolation. If you create a Docker instance on your Mac, you are more or less guaranteed it will work the same in production.
If you were to create a Linux VM to replace Docker, you would need it to also recreate the Docker build tools for that VM so you could recreate that VM on the server. At that point, you’ve more or less come full circle and essentially recreated Docker.
- sigjuice 6y agoI am not creating a Linux VM to replace Docker. I have a Linux system (the VM). Docker is installed on that Linux system and I do all docker related work on the Linux system.
- sarabad2021 6y agoYes, this is really the only way to tolerate Docker on a Mac. Basically it's the same thing WSL does on Windows. Linux in a VM then you run Docker in the VM. Not many people talk about doing it this way though.
- ogre_codes 6y agoAh, obv I misunderstood your above post. Makes a ton of sense. It’s been a while since I used Docker, but I’ll have to try it out next time I’m using a container setup. Particularly since HyperKit seems to make running a VM so straight forward.