# Using Docker on macOS environment

**URL:** <https://discuss.circleci.com/t/using-docker-on-macos-environment/10091>\
**Category:** Build Environment\
**Tags:** docker, osx\
**Created:** [February 3, 2017, 12:49pm UTC](https://discuss.circleci.com/t/using-docker-on-macos-environment/10091 "2017-02-03T12:49:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mirague](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/mirague/32/15339_2.png) [@mirague](https://discuss.circleci.com/u/mirague)\
**Post date:** [February 3, 2017, 12:49pm UTC](https://discuss.circleci.com/t/using-docker-on-macos-environment/10091/1 "2017-02-03T12:49:17Z")

</div>

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

[[Album] CircleCI: macOS Docker ![](https://i.imgur.com/272GyIv.jpg?fb "CircleCI: macOS Docker") ](https://imgur.com/a/12fBV)

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!

---

<div class="post-metadata">

**Author:** ![zzak](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/zzak/32/4233_2.png) [@zzak](https://discuss.circleci.com/u/zzak)\
**Post date:** [February 7, 2017, 12:43pm UTC](https://discuss.circleci.com/t/using-docker-on-macos-environment/10091/2 "2017-02-07T12:43:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:39am UTC](https://discuss.circleci.com/t/using-docker-on-macos-environment/10091/3 "2018-06-18T11:39:08Z")

</div>


