User-guided caching in Docker for Mac

[This post was written by Jeremy Yallop and David Sheets.] Recent Docker releases (17.04 CE Edge onwards) bring significant performance improvements to bind-mounted directories on macOS. (Docker users on the stable channel will see the improvements in the forthcoming 17.06 release.) Commands for bind-mounting directories have new options to selectively enable caching. Containers that perform large numbers of read operations in mounted directories are the main beneficiaries. Here’s an illustration of the improvements in a few tools and applications in common use among Docker for Mac users: go list is 2.5× faster; symfony is 2.7× faster, and rake is 3.5× faster, as illustrated by the following graphs: go list (2.5× speedup) go list ./… in the moby/moby repository symfony (2.7× speedup) curl of the main page of the Symfony demo app rake (3.5× speedup) rake -T in @hirowatari’s benchmark For more details about how Continue reading…

Michael Chiang

Docker for Mac and Windows is Now Generally Available and Ready for Production

Today, we are excited to announce that Docker for Mac and Docker for Windows are graduating from beta and are now stable and ready for production.

Chris Hines

The 10 Most Common Questions IT Admins ask About Docker

Over the past few months we have attended a string of industry tradeshow events, helping to teach the world about Docker for enterprise. We were at HPE Discover, DockerCon, RedHat Summit and Cisco Live all within the past 6weeks! I had the pleasure of helping to represent Docker at each events and spoke with attendees. Some folks worked in IT ops, while others worked in development. I also spoke with a lot of folks working as IT admins within their company’s infrastructure team, and over time, I began to notice some trends when it came to the types of questions they asked. This got me thinking. Why not put together a list of the most common questions from IT administrators? I mean there’s a good chance there are other IT infrastructure folks out there who have the very same questions, Continue reading…

Aanand Prasad

Live Debugging with Docker

During the DockerCon 2016 keynote, I demonstrated a development workflow with Docker for Mac, going from a fresh laptop to a running app in no time. The especially cool part was when I live-debugged a Node.js app running inside a container from my IDE, despite having no Node.js runtime installed on my laptop. Here I’m going to show you how to do it yourself. Here’s what you’ll need: Docker: I recommend Docker for Mac or Windows, which are in public beta. An IDE which supports Node.js remote debugging: I used Visual Studio Code. A Node.js application: I’ll create a simple one as part of this tutorial.   Example Application Create a directory to work from: $ mkdir node-example $ cd node-example To get our app running, we’ll need 5 files: A JavaScript file to contain the actual app code A package.json Continue reading…

Get the Latest Docker News by Email

Docker Weekly is a newsletter with the latest content on Docker and the agenda for the upcoming weeks.

Adam Herzog

DockerCon 2016: Deep Dive into Docker for Developers

There were many awesome announcements at DockerCon 2016 but we are super excited to open the Docker for Mac and Windows beta to everyone! During DockerCon 2016, several presentations highlighted these efforts to bring a native Docker experience to Mac and Windows, making it easier for developers to work with Docker in their own environments. Watch the sessions below to learn more!

Matt Aimonetti

How Docker for Mac helps me sleep better at night

My name is Matt Aimonetti, I’m the co-founder and CTO of Splice. At Splice, we built a cloud platform for music producers, this platform is made of elements engineers often take for granted. We invented version control for music, a distributed collaboration flow and a subscription based marketplace for samples, loops presets and MIDI. All that without changing the creation tools musicians already know and like. I’m a developer and an entrepreneur, the last thing I want to worry about are ops concerns.

Mano Marks

Announcing the Docker for Mac and Windows Public Beta

Back in March, we launched a private beta for a new ambitious project called Docker for Mac and Docker for Windows. Our major goal was to bring a native Docker experience to Mac and Windows, making it easier for developers to work with Docker in their own environments. And thousands agreed. Over thirty thousand applied in the first 24 hours. And by last week, we let in over seventy thousand. And now all you need to get started developing is Docker and a text editor. No more installing dependencies and runtimes just to debug applications.

Betty Junod

Meet the #DockerVideo Contest Winners!

It has been a fun two weeks since we launched the #DockerVideo contest. Thank you for all the submissions, likes and retweets but most importantly, thanks for being part of the Docker for Mac and Windows beta.