Docker for Mac and Windows Beta: the simplest way to use Docker on your laptop
Since June 20th, 2016, Docker for Mac and Windows are now publicly available. You can download them at docker.com/products/overview
To celebrate Docker’s third birthday, today we start a limited availability beta program for Docker for Mac and Docker for Windows, an integrated, easy-to-deploy environment for building, assembling, and shipping applications from Mac or Windows. Docker for Mac and Windows contain many improvements over Docker Toolbox.
- Faster and more reliable: no more VirtualBox! The Docker engine is running in an Alpine Linux distribution on top of an xhyve Virtual Machine on Mac OS X or on a Hyper-V VM on Windows, and that VM is managed by the Docker application. You don’t need docker-machine to run Docker for Mac and Windows.
- Tools integration: Docker for Mac is a Mac application and Docker for Windows is a Windows application, including a native user interface and auto-update capability. The Docker tool set comes bundled with it: Docker command line, Docker Compose, and Docker Notary command line.
- Volume mounting for your code and data: volume data access works correctly, including file change notifications (on Mac inotify now works seamlessly inside containers for volume mounted directories). This enables edit/test cycles for “in container” development.
- Easy access to running containers on the local host network: Docker for Mac and Windows include a DNS server for containers, and are integrated with the Mac OS X and Windows networking system. On a Mac, Docker can be used even when connected to a very restrictive corporate VPN.
- Docker for Mac was architected from scratch to be able to fit the OS X sandbox security model and we are working closely with Apple to achieve this.
See Docker for Mac and Docker for Windows in action in this video:
Docker for Mac can be used at the same time as Docker Toolbox on the same machine, allowing developers to continue using Toolbox as they evaluate Docker for Mac. On Windows you need to stop Toolbox before using Docker for Windows.
Docker for Mac and Windows have already been used by a few private beta testers and they have enhanced developers’ daily workflows.
“The Docker for Mac product has addressed all of these issues for us:
- installation has been significantly smoother thanks to the native Mac application and autoupdater
- official images now “just work” with the Mac
- the new development workflow allows engineers to quickly spin up new versions of services and develop software natively on the mac against them, with everything just working.”
– Mat Clayton, Co-founder, Mixcloud
You can sign up for Docker for Mac and Docker for Windows private beta today. This is a limited availability private beta and signing up will add you to a waiting list. We will add more people from the waiting list on a rolling basis as we get feedback and improve the product quality.
Docker for Mac and Docker for Windows are at different stages of development, although they do share a significant code base. Docker for Windows will initially be rolled out to users at a slower pace but will eventually offer all the same functionality as Docker for Mac. Docker for Windows currently only ships on Windows 10 editions that support Hyper-V.
Making things easy to use and functional takes elaborate engineering work: what makes Docker for Mac and Windows feel native are deep integrations with the host system in terms of virtualization, networking, security and file-systems. These integrations leverage the systems and virtualization expertise of Docker’s recently acquired Unikernel Systems team, as well as the Unikernel-related technologies they developed over the past 5 years: for example, the translator between Linux and Mac OS X networking uses the MirageOS TCP/IP implementation. Expect to see more of that kind of work in the future across the Docker line of products. All of the OS-level integration innovations will be open sourced to the Docker community when these products are made generally available later this year.
As usual with software, we’re building on the shoulders of giants: we would like to thank Apple and Microsoft for their assistance integrating their platforms with Docker, Michael Steil for xhyve, and the Docker product development teams in San Francisco, Cambridge, and Paris.
Join us at the next Docker Online Meetup on March 30 to learn more about the Docker for Mac and Windows beta!
Learn More about Docker
- New to Docker? Try our 10 min online tutorial
- Share images, automate builds, and more with a free Docker Hub account
- Read the Docker 1.10 Release Notes
- Subscribe to Docker Weekly
- Sign up for upcoming Docker Online Meetups
- Attend upcoming Docker Meetups
- Register for DockerCon 2016
- Watch DockerCon EU 2015 videos
- Start contributing to Docker
Matthias Goetzke
March 24, 2016 at 6:49 am
at first i thought great, makes things easier.
then i read hyper-v on windows.
so back to virtualbox for me since hyper-v was a constant pain for me. it disables power management options on my laptops, it interferes with other virtual machine tech required for e.g android development or demo vms running in vmware player etc…
Geir
May 11, 2016 at 5:10 am
You could perhaps use VMware Workstation with virtualized Hyper-V, meaning you can keep using Virtualbox on Host and install Windows 10 with Hyper-V on VMware. https://4sysops.com/archives/how-to-run-hyper-v-under-vmware-workstation/
Adam Herzog
March 24, 2016 at 9:34 am
Hi Paul, we just pushed a fix – can you try refreshing?
Jason Ware
March 24, 2016 at 9:51 am
I’m still seeing the same thing as Paul.
Jason Ware
March 24, 2016 at 9:51 am
And of course, I hit refresh and now it works. Thanks!
Adam Herzog
March 24, 2016 at 9:35 am
Sorry about that Dylan! We just fixed – can you try again?
Francis Ridder
March 24, 2016 at 9:51 am
So damn excited for this. I hope there will be a good way to allow for external clients to hit the docker containers running on a Mac. The current docker toolbox stuff is not nice for that.
Itamar Ostricher
March 30, 2016 at 10:28 am
Francis, what do you mean by “external clients” hitting the containers running on a Mac?
Brett
April 14, 2016 at 5:27 am
Not sure if this is what Francis meant, but I would say the same thing, and what I mean is that containers running on a local docker-machine VM expose a port at the VM, not at the Mac host, and an additional layer of forwarding is required to expose those services at the Mac.
A form of this shows up in the demo video, where the browser can just hit "docker.local" rather than the result of `$(docker-machine ip $(docker-machine active))`.
Matt Horner
July 1, 2016 at 5:16 am
Has this been released yet?
Vincent Berruchon
March 24, 2016 at 10:42 am
Great!
But is there an hope to have Windows 7 supported?
I’m asking that because of large corporate groups that won’t adopt Windows 10 before years?
Peter
March 24, 2016 at 11:12 am
Did you try disabling AdBlock or uBlock?
Mike Lisanke
May 20, 2016 at 7:27 am
Is there a reason (beside the obvious) that we need to disable adblockers? Many of us consider ads not just an annoyance but a threat to safe computing. Why does a download page need adblocking disabled???
Felipe Micaroni Lalli
March 24, 2016 at 11:12 am
Hi! What about OpenBSD? Thank you.
Steve Lasker
March 24, 2016 at 11:24 am
Congrats. Excited for all the improvements over VirtualBox and the support for Hyper-V
Vladimir Varankin
March 24, 2016 at 11:40 am
It sounds like this is exactly what I wanted to have for the local development. Can’t wait to try it!
Dino
March 24, 2016 at 12:47 pm
Which version of OS X are supported?
Hilke
March 24, 2016 at 1:12 pm
Try disabling any adblockers/other js blockers you may have
Ian Littman
March 24, 2016 at 1:13 pm
Just signed up for the waiting list. Looking forward to switching over to this from Kitematic.
Paolo Mainardi
March 24, 2016 at 1:16 pm
Wow, terrific news, thanks a lot.
Can you explain how the new volumes management works on osx ? As inotify works, it suggests that you are not using something like NFS.
Satya Gunnam
March 24, 2016 at 2:30 pm
Great..Just to understand these are still linux containers running on Mac/Windows w/o Virtualbox..Both Mac and Windows are still running a linux distribution of some sort..Is that correct?
joe miller
March 24, 2016 at 2:52 pm
Pretty exciting news!
I had briefly experimented with the docker-machine-xhyve driver recently and noticed that disk IO seemed to be significantly slower than with Virtualbox.
I was seeing about ~800KB/s in xhyve in a random r/w test -vs- ~47MB/s in Vbox. I also noticed a diskutils-helper userland process that was pretty busy. I assume it’s just a lack of something like virtio interface for xhyve.
Have you seen this too? Will this be an issue in the new Docker for mac?
thanks!
Binh Van Nguyen
March 24, 2016 at 3:04 pm
Had to hack to mount volume while using Docker Toolbox, hope this will be fixed and can’t wait to use this!
SUDEEP PARAJULI
March 24, 2016 at 7:54 pm
Docker is being generous .. Thank you docker team !!
Chris Dietrich
March 24, 2016 at 11:18 pm
That’s huge for Mac Users like me. Thanks so much for pushing this fine technology forward.
Marco
March 25, 2016 at 1:09 am
Just so I am absolutely clear on this, this is about making interaction with a container native to the Host OS, what is running inside the container still has to be linux based, is that correct? From what I can see it certainly looks like this but I teach docker and someone is bound to ask me this. I just want to make sure my facts are straight.
insider
March 25, 2016 at 2:17 am
You finally did it! Even i’m not using Mac and Windows thank you!
rbq
March 25, 2016 at 3:05 am
Will this be the only supported way to run Docker on OS X? As a developer I’d love to use docker-machine + xhyve + Ansible and have no use for a GUI app at all. I’m also quite happy with simply installing/updating Docker via MacPorts just like before.
Matthias Kurz
March 25, 2016 at 3:13 am
When can we expect the final release for Docker for Windows?
Adam Herzog
March 29, 2016 at 2:13 pm
we’re targeting June – stay tuned for more updates!
Maz Jaleel
June 5, 2016 at 1:35 pm
Still on target?
Denys Slipetskyy
March 25, 2016 at 3:17 am
This is one of the best recent news from Docker !
This tool just address most painful parts of Docker based development workflow on non-Linux dev boxes … awesome.
Jarret Peterson
March 25, 2016 at 4:22 am
Does this mean we can now run OSX as a client in a docker container?
Nicholas Stein
March 25, 2016 at 7:47 am
Thank you so much. My Windows 10 pro machine will not allow me to uninstall Hyper-V. It rolls back upon reboot. That means when I run Toolbox, I get the VirtualBox error. With VirtualBox installed, Hyper-V cannot properly install a Virtual Switch. Catch 22!
So I am trying to get started only using the command line and installing a downloaded version of Linux (Ubuntu) which has more than I want on my Docker machine. Do I really need a full Linux UI just to run a process?
I am really hopeful that this beta will release me from VirtualBox.
BTW, I am getting lots of comments on my BDay3 Tee, and the contest materials, along with the help I received at the Irvine CA meetup have been super helpful. Thank you again.
Brian
March 25, 2016 at 10:53 am
Has the mounted file system performance improved in this Beta. Mounted file system performance was our biggest issue running Docker on OS X.
Murali
March 25, 2016 at 11:12 pm
How to join online meet up
Adam Herzog
March 28, 2016 at 11:20 am
Hi Murali, you can RSVP here: http://www.meetup.com/Docker-Online-Meetup/events/229842808/
And don’t forget to complete registration here: https://docker.webex.com/docker/onstage/g.php?MTID=e80764455eb6bdf7919ab377248f12c8e
Alexandr Marchenko
March 26, 2016 at 1:41 am
Wondering how volume sharing will work on Windows, will it be something like iSCSI targets/initiators or maybe even DFS like or simple SMB share like Vagrant use on Hyper-V?
wener
March 27, 2016 at 8:27 pm
If OS X can use xhyve, so, can I use docker without vbox in linux 2.x kernel ?
josep
March 29, 2016 at 4:03 am
Hi,
Firt of all, congratulations for your good job!
I wannat ask you if you have in mind to support windows 7?
Thanks in advance
Timon Fiddike
March 29, 2016 at 6:25 am
Yeah!! Looking forward to running this on my Mac without VirtualBox. Thank you!
And:
Happy birthday!!
David Karlsen
March 29, 2016 at 2:16 pm
Awesome news – the VPN compatibility mode works great! Will the same feature appear on windows soon? I guess windows users are even more affected by VPN problems (corporate hell) – so having it here too would be great!
Keith Rogers
March 30, 2016 at 8:21 am
Wonderful! I had been considering switching from osx to linux for my development machine because of the poor performance of volumes when using virtualbox making edit/test so painful!
Jorge arco
April 1, 2016 at 12:20 am
Try with nfs
iongion
April 24, 2016 at 3:37 am
How ?
You mean instead of shared folders to use NFS mounts to expose things the docker environment ?
That sounds complicated
Raees Iqbal
April 3, 2016 at 10:54 am
Awesome!!! Can’t wait to try it. I hope it has Linux-like networking (a native virtual network for each Docker network) in Docker Windows.
Luca
April 5, 2016 at 8:45 am
News? Desperately seeking lonely container for my Mac 🙂
happy to be pre-beta tester… 😮
Niels
April 11, 2016 at 1:02 am
Very nice! Looking forward to working with it
Wellington F Silva
April 13, 2016 at 11:44 am
Hello.
Where can I talk about the beta app for mac and win.
Some friends have submitted after then me and they are already testing it. I think someone missed me from queue.
=/
Benjamin Lupton
May 4, 2016 at 11:12 pm
Are you meant to receive a confirm email or something? I signed up immediately but haven't heard a thing when this blog came out. Really keen to get started with this.
Andre Pollard
May 9, 2016 at 1:11 pm
Is overlay network supported in Docker for MAC? If so, how would I set daemon options of
–cluster-store
–cluster-store-opt
–cluster-advertise
Jon Feutz
May 24, 2016 at 7:59 am
The Beta Version of Mac/Windows
Does anyone know how to add a private ca or add –insecure-registry for the beta version. Trying to connect to a private registry.
Markus
May 29, 2016 at 9:35 am
Hi Jon, did you figure out? Trying to connect to a private repository via a ssh tunnel
richard w
May 24, 2016 at 6:50 pm
I signed up two month ago on https://beta.docker.com, but haven't heard anything, when can I have access to docker for mac?
Adam Herzog
May 26, 2016 at 10:39 am
Hey Richard, can you email me with the email address you used to sign up? adam at docker dot com
Fernando
May 26, 2016 at 10:47 am
Same here, I also signed up 2 days ago and still have not heard anything. Also, will it flat out not let me install if I have Windows 7, or it is just that docker is not supporting the beta for Windows 7?
Erik
May 27, 2016 at 4:38 am
I just experienced that Docker filled my OSX disk by logging extensively. So far 140GB in ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux with docker.log holding most of the data, but also some in vsudd.log
Any plans for rotating/limiting this?
Till
May 27, 2016 at 12:30 pm
I have the same issue. Is it possible to change the log level? Currently it is logging debug information as well
Mo
May 27, 2016 at 3:43 pm
I had the same issue +1 for fix it , it took my 15GB available hard drive in hours
Torsten
June 1, 2016 at 1:37 am
Is there any chance to get that native docker mac-os-version?
I registered a couple of times (starting in march) but I never got an answer :-(.
"Soon" on https://beta.docker.com seems to be a very vague timeperiod…
Pierre R.
June 8, 2016 at 2:23 am
+1
Still waiting too. Tired to use hacks to make it works as it should on a mac.
Torsten
June 21, 2016 at 3:48 am
Any chance to get into the mac beta program?
I am waiting for month for it 🙁
Bjørn Remseth
June 1, 2016 at 6:49 am
Question: I'm using the spotify docker-client to connect to docker and then start containers etc. (an orchestration package we've written). With docker machine I could get the hostname, port, cert location etc. from "docker-machine env <machinename>", where do I get that information now?
Carsten Ganske
June 23, 2016 at 11:03 pm
For those still looking -> https://twitter.com/juliendubois/status/728896186497835008
Michal Kunikowski
June 8, 2016 at 3:14 am
Hi, what is licence for docker beta windows ? Can I install it for commercial use in my company?
Scott Lessans
June 10, 2016 at 1:52 pm
I am really excited for native docker. Have signed up for beta a few times and haven't heard anything! Been waiting for a while now for either the beta or the release. Any info on timelines?
Adam Herzog
June 13, 2016 at 4:28 pm
Apologies Scott! I'm sending you an email now with an update.
Jordi Llonch
June 10, 2016 at 9:32 pm
I registered long time ago for the Docker for Mac Beta but haven't heard anything. What can I do to have access?
Adam Herzog
June 13, 2016 at 4:22 pm
Hi Jordi, sorry about that! You were approved for the beta – I'm going to send you an email with more information now.
Paolo Castro
June 17, 2016 at 6:56 am
I Adam, I've also registered quite a while ago and got no response, I then registered 2 more times, but still nothing, can you please check my account as well?
Peter Hvidgaard
June 14, 2016 at 6:05 am
I tried to sign up for the beta, but I get a, an error.
Forbidden (403)
CSRF verification failed. Request aborted.
Adam Copp
June 16, 2016 at 8:05 am
I was hoping to receive an invite for the windows & mac betas, but haven't yet received any news – Is there information on when the next wave of invites might be going out?
Adam Herzog
June 16, 2016 at 8:46 am
Hi Adam, the team regularly sends invites to join the beta. I'll send you an email now with more info.
Justus Klein
June 17, 2016 at 4:22 am
My colleagues are already waiting for quite a long time to get invited.
Today i signed up, too. Is there any way to speed up the process and get an Beta-Invite for our Team soon?
Radek
June 21, 2016 at 6:18 pm
How can I forward usb connected android device from host in Beta?
dropedou
July 29, 2016 at 12:39 am
Interessted too! More over how to forward a usb drive with ext3 partition on it.
Using docker under windows.
Adrian
July 12, 2016 at 1:00 pm
I just installed docker for windows and discovered it broke up virtualbox (VT-x is not available (VERR_VMX_NO_VMX)). Can't the two products coexist? I need to run VMs in VBox for my day to day work, and also wanted to test docker under windows
markl17
August 4, 2016 at 9:53 am
please help with this
http://stackoverflow.com/questions/38702808/docker-is-not-allowing-to-mount-a-directory-into-a-drupal-container/38709202#38709202
Stan Towianski
September 9, 2016 at 4:36 pm
Hmmm. Well, I tried the docker-machine stuff and that is just too much of a pain to use when it comes to networking if I remember rightly. I had my docker 'user' inside my virtual-machine inside my mac and that extra layer of VM was just a pain. Which user am I now?? which network is it??
So I moved to docker for mac. That would be better; just one level of 'which user am I ?'. I am running into blow out problems though. I have a mac with 16gb and docker 1.12.0-a
I am using the standard Jenkins 2.7.x in docker image. my mac starts up running about 3.8gb. I start jenkins and it goes to 7.9gb I start building 2 jobs and it was hitting about 14gb and sometimes 15gb. problem: 2 or 3 times it just blew out; docker container stopped and it did not release system memory. maybe I need more memory, but right now with 1 job running top says it is at 8.7gb. maybe it does not release memory too well?