Docker Macos Catalina

2/13/2022by admin

Install Docker Desktop on your Mac. Open the docker.dmg file you downloaded, and drag the Docker app's cartoon whale icon into your Applications folder. Open and run Docker. When you run the Docker app, a little whale icon will appear on the right side of the menubar atop your screen. It'll take a few minutes to get running, and Docker may.

  • Docker-sync is a Ruby gem (installed via gem install docker-sync) which requires an additional configuration file (docker-sync.yml) alongside your docker-compose.yml file, which then requires you to start docker-sync prior to starting your docker-compose setup. It also ships with extra wrapper functions that can do it all for you, but overall.
  • Run macOS Big Sur or Catalina using Docker-OSX (for other options, see the Docker-OSX project page - e.g. You can run it headless, using your own image, run sickcodes/docker-osx:latest allowing SSH into macOS, etc.; you may also want to check out these custom QEMU arguments that can be used for setting the number of CPU cores, available RAM, etc.).
  • I can confirm it is still the case with,42247 on MacOS Catalina 10.15.2. I'm also experiencing the symptoms described by @rkstamm. On top of that, installing docker makes the system unstable, eventually ending up in the state where no files can be written (but not read) until a reboot.
  • Exit Disk Utility and and select Reinstall macOS. On restart, select macOS to continue the installation. When the installation is finished, upon reboot select macOS to boot into macOS Catalina. That’s it finish setting up macOS Catalina and enjoy running macOS in a Docker container on your Linux machine.

As you might know, Docker containers need a Linux kernel in order to run (for Linux containers that is). So how does this work on a Mac, then, it doesn’t have a Linux kernel? Docker Desktop for MacOS will install a small Linux OS on your Mac using the MacOS-built-in xhyve hypervisor.

Docker Macos Catalina Free

So if you are curious and want to poke around in Docker, you’ll need to enter the VM. Say you want to run ps on the host in order to see the individual containers running as processes, to watch how Docker images are stored or as I will show here: to see how containers are using overlay2 to merge the container filesystem with the underlying image filesystem then run this on your Mac after you started a container to get the container path:
docker inspect --format='{{.GraphDriver.Data.UpperDir}}' <container>

Now switch to the Linux VM:
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty

Macos Catalina 10.15.7

Then cd into the path returned by inspect. You will see the changes the container made into its filesystem or run ps to see the “real” PID of the container process.


Docker Macos Catalina Update


In order to exit the VM again hit CTRL-A CTRL- and then y to confirm the exit.

Comments are closed.