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…

Aanand Prasad

Compose 1.6: New Compose file for defining networks and volumes

In the previous version of Docker Engine we added a completely new system for managing networks and volumes, and we’re pleased to announce full support for these features in Docker Compose. Compose files used to describe just one thing: the services that make up your distributed application. We’ve now added networks and volumes to the mix, allowing you to describe much more complex applications. You can set up your app on your development machine with multiple network tiers and complex storage configurations, replicating how you might set it up in production. You can then take that same configuration from development, and use it to run your app on CI, on staging, and right through into production.

Aanand Prasad

Getting Started with Docker Toolbox and Compose

Today at DockerCon EU 2015, I ran through a demo of running and developing an app from a fresh computer using Docker Toolbox and Compose. This was to show how easy it is for new developers to get started when you run your development environments with Docker.

Aanand Prasad

Easily Configure Apps for Multiple Environments with Compose 1.2 and Much More

Today we’re very happy to announce the second release of Docker Compose, a tool for easily defining and running multi-container apps. Head straight to the install docs if you can’t wait to download and use it.  

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.

Aanand Prasad

Announcing Docker Compose

Today we’re excited to announce that Docker Compose is available for download. Docker Compose is an orchestration tool that makes spinning up multi-container applications effortless. Head to the install docs to download it. With Compose, you define your application’s components – their containers, their configuration, links, volumes, and so on – in a single file, then you can spin everything up with a single command that does everything that needs to be done to get your application running. If you’ve used Fig before, this will sound familiar – in fact, Compose is based directly on the Fig codebase and is backwards-compatible with Fig applications. Fig’s been hugely successful as a tool for development environments, with almost 5,000 stars on GitHub, 80,000 downloads, and users including Yelp, Spotify, Mozilla, Facebook and the UK Government. Fig will continue to receive critical maintenance Continue reading…

Aanand Prasad

DockerCon EU: Introducing Docker Compose

At DockerCon EU I talked about Docker Compose, an orchestration tool we’re working on for defining, spinning up and managing apps consisting of multiple containers. It bears more than a passing resemblance to a tool I helped create called Fig. At the time, we were proposing building Compose into the Docker client itself, but we’ve now revised that plan and will be keeping it separate and building directly on the Fig codebase. Still, the breakout session is a good introduction to what Compose does.  

Aanand Prasad

Fig 1.0: boot2docker compatibility and more

Today’s a big day for Fig, our Docker-based development environment tool: we’re releasing version 1.0. It’s the first and last major version increment, as we’re already hard at work building the functionality Fig provides into Docker itself. There’s an absolute ton of improvements in this one, but the most wonderful is that Fig now works out-of-the-box with boot2docker on OS X, because volumes on the host now work the way you expect them to (for more on how that works, see the Docker 1.3 announcement). This means Mac users need suffer unofficial solutions no more: run the standard Docker installer, then download Fig and you’re off. Beyond that, we’ve got new commands, .dockerignore support and many more improvements too numerous to list here. Take a look at the release notes and bask in the goodness. If you’re already a user, Continue reading…