Using Docker on macOS environment

When trying to use Docker inside a macOS build we get the following error “Action failed: Configure the build”:

This is what we’ve added in the circle.yml:

machine:
  services:
    - docker

We need to build and push a docker image as part of our deployment process. How can we get this work? Any workarounds? Or perhaps can support be added for this?

The docs have no mention of it not working or being unsupported in macOS.

Thanks!

Hello,

We don’t currently support building and pushing images from our macOS docker environment.

If possible, we recommend building docker images under the Linux environment and pushing them from there.