# Creating a mac docker container

**URL:** <https://forums.docker.com/t/creating-a-mac-docker-container/25339>\
**Category:** Docker Desktop\
**Tags:** docker\
**Created:** [November 26, 2016, 10:32am UTC](https://forums.docker.com/t/creating-a-mac-docker-container/25339 "2016-11-26T10:32:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikceo](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/vikceo/32/14452_2.png) [@vikceo](https://forums.docker.com/u/vikceo)\
**Post date:** [November 26, 2016, 10:32am UTC](https://forums.docker.com/t/creating-a-mac-docker-container/25339/1 "2016-11-26T10:32:20Z")

</div>

so all over i see is docker for mac related docs etc.

my current non docker env is based on mac for ios app development. I am planning to create a docker image for it so that dev teams can avoid lengthy setup we need.

the very first step where i am stuck is how to have a clean osx image based on el capitan where i will start installing required software

---

<div class="post-metadata">

**Author:** ![tangledhelix](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/tangledhelix/32/9397_2.png) [@tangledhelix](https://forums.docker.com/u/tangledhelix)\
**Post date:** [November 28, 2016, 2:54am UTC](https://forums.docker.com/t/creating-a-mac-docker-container/25339/2 "2016-11-28T02:54:46Z")

</div>

You may be misunderstanding how Docker works. You can run a Docker-based environment _on_ your Mac, but within a container, you can only run Linux applications. You can’t run macOS inside of a container. For that scenario, you should be looking at VM technology instead (VirtualBox, VMware, etc.)
