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?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.