This is one of the few scenarios that I would not use Docker for:
Base images like Ubuntu are heavily separated by full OS versions. Ubuntu's latest image lacks basic tools like ping and curl - this is Canonicalβs focused strategy to minimize image size and therefore attack vector. As a rule, you should create an image to start one application process in the container, you would not use SSH and do not use the usual tools for developers, so they are not needed. This will make it difficult for you to learn Ubuntu, because there are not a lot of basic things there.
On a Mac, the best VM tool I used was Parallels - it manages to split the CPU without battery impact. VirtualBox is also good, and for any of them you can install the full Ubuntu Server from an ISO drive - 5GB and 1 GB of RAM will be much if you just look around.
With any hypervisor, you can pause virtual machines so that they stop using resources, and check them to save the image so that you can return to it later.
Elton stoneman
source share