Problem
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.
Solution
If you need to run docker commands, we suggest the use of the Remote Docker environment from within the Docker executor.
Comments
Article is closed for comments.