Can I use Docker within the macOS executor?


Setting up and running Docker within the macOS executor is a setup that we do not provide official support for.

Whilst it may be possible to set this up manually, there are many pitfalls to be aware of. Docker on macOS has to run a Linux VM to create containers so this essentially means that you will be running a containers in a VM, within a VM (nested virtualisation).

As a result of the nested virtualisation, you may run into hostname/ip conflicts and lack of CPU/Memory resources, causing jobs to fail.



If you need to run docker commands, we suggest the use of the Remote Docker environment from within the Docker executor.

Was this article helpful?
4 out of 16 found this helpful



Article is closed for comments.