Docker Community Forums

Share and learn in the Docker community.

Trying to Understand Docker on Macs


(BevInTX) #1

I don’t understand using Docker, especially on Macs. I understand why one would want to use it, but not the mechanics of it.

For example, I tried to find an example of a Mac specific container or even how to create one, but all the examples that I found were for Linux. So, is it possible to create a Mac specific container and if so, how would one go about doing so?

And if one must use Boot2Docker at the command line, then how would one develop Mac apps in Xcode and deploy with Docker (presuming that’s possible)?

Bev in TX


Newbie-question: Dockered Windows applications? -I don't get it
(Joe) #2

Hi Bev,

Docker Containers are essentially Linux Containers (atleast at this point in time,which is 17th July 2015).

boot2docker is a Linux VM with “docker software” in it.

And here are the answers to your questions:

Ques: So, is it possible to create a Mac specific container and if so, how would one go about doing so?

Ans: There is no such thing as a “Mac specific container” at this point in time. All we have today are “Linux Containers”.

Ques: And if one must use Boot2Docker at the command line, then how would one develop Mac apps in Xcode and deploy with Docker (presuming that’s possible)?

Ans: When you run the boot2docker vm, you are running a Linux VM. Here you can “Docker Containerize” the apps that you develop.

Cheers,
Joe


(BevInTX) #3

Joe,

Thanks so much for answering my questions. You clarified everything for me :-).
Bev in TX