Gareth Rushgrove

Making Compose Easier to Use with Application Packages

Docker Compose is wildly popular with developers for describing an application. In fact, there are more than 300,000 Docker Compose files on GitHub. With a set of services described in a docker-compose.yml file, it’s easy to launch a complex multi-service application (or a simple, single-service app) on Docker by running a single command. This ease of use makes Docker Compose perfect for development teams striving for a quick way of getting started with projects. Over time Compose has evolved, adding lots of features which help when deploying those same applications to production environments, for example specifying a number of replicas, memory resource constraints or a custom syslog server. But those attributes can become specific to your own environment. There are a number of different strategies for trying to address this situation, but the most common is relying on copy and paste. It’s Continue reading…

Mike Coleman

Docker Compose and Kubernetes with Docker for Desktop

With KubeCon EU happening in Copenhagen, we looked back at the most popular posts with our readers on Docker and Kubernetes. For those of you that have yet to try Docker EE 2.0, this blog highlights how in Docker for Desktops you can use Docker compose to directly deploy an application onto a Kubernetes cluster.  If you’re running an edge version of Docker on your desktop (Docker for Mac or Docker for Windows Desktop), you can now stand up a single-node Kubernetes cluster with the click of a button. While I’m not a developer, I think this is great news for the millions of developers who have already been using Docker on their Macbook or Windows laptop because they now have a fully compliant Kubernetes cluster at their fingertips without installing any other tools. Developers using Docker to build containerized applications often Continue reading…

Banjot Chanana

Extending Docker Enterprise Edition to Support Kubernetes

At DockerCon Europe, we announced that Docker will be delivering seamless integration of Kubernetes into the Docker platform. Bringing Kubernetes to Docker Enterprise Edition (EE) will simplify and advance the management of Kubernetes for enterprise IT and deliver the advanced capabilities of Docker EE to a broader set of applications. Swarm and Kubernetes Side-by-Side Docker EE is an enterprise-grade container platform that includes a private image registry, advanced security features and centralized management for the entire container lifecycle. By including Kubernetes for container orchestration, customers will have the ability to run both Swarm and Kubernetes in the same Docker EE cluster while still leveraging the same secure software supply chain for building and deploying applications. Figure 1. Docker EE Architecture with Multiple Orchestrators This is possible because Docker EE has a modular architecture that is designed to support multiple orchestrators. The Linux nodes are both Continue reading…

Sophia Parafina

Spring Boot Development with Docker

The AtSea Shop is an example storefront application that can be deployed on different operating systems and can be customized to both your enterprise development and operational environments. In my last post, I discussed the architecture of the app. In this post, I will cover how to setup your development environment to debug the Java REST backend that runs in a container. Building the REST Application I used the Spring Boot framework to rapidly develop the REST backend that manages products, customers and orders tables used in the AtSea Shop. The application takes advantage of Spring Boot’s built-in application server, support for REST interfaces and ability to define multiple data sources. Because it was written in Java, it is agnostic to the base operating system and runs in either Windows or Linux containers. This allows developers to build against a heterogenous architecture. Project setup The AtSea project 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.

Mano Marks

Voting with Docker: A little break from the election

You may have heard, there’s an election for president (and many other posts) going on in the US today. For those who already voted, who want a break from voting, or just want to create a new quiz for their friends, we have the Docker Example Voting App. And we’ve even created a poll to help you figure out the best quiz to make. Which #Docker voting app face off would you select? #TwitterPoll #ElectionDay — Docker (@docker) November 8, 2016 The voting app was created to showcase a number of features of Docker: Polyglot development environments: The app has Python, Node.js, and .NET code, as well as Redis and Postgres services. Easy deployment of a multi-service app with Docker Compose. Easy Docker Networking. All this using a simple $ docker-compose up. The Example Voting App has been really popular at 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…

Vivek Saraswat

High Availability Architecture and Apps with Docker Datacenter (DDC)

High availability (HA) isn’t just about keeping the lights on all the time; it’s also about quickly turning them back on when they unexpectedly go out. With software, this means capabilities for fault tolerance as well as backup and recovery. Docker Datacenter (DDC) provides this for both the container-based applications as well as the application infrastructure components (such as cluster management, orchestration, account settings, etc.). In this post we will look at how high availability is achieved in the latest release of Docker Datacenter. As a refresher, Docker Datacenter is comprised of the following software: Universal Control Plane (UCP) with Swarm for cluster orchestration and management Docker Trusted Registry (DTR) for secure image collaboration and distribution Docker Engine with commercial support to run your containerized apps

Vivek Saraswat

Exciting Docker Datacenter updates: Deploy Compose apps in UI, full stack HA and more

Today we are releasing exciting new capabilities to the products behind the Docker Datacenter subscription (DDC). Docker Datacenter allows organizations to deploy a Containers as a Service (CaaS) platform on-premises or in their virtual private cloud. From DevOps and CI/CD to orchestration and management of container applications, DDC provides a seamless way for devs and IT teams to work together to build, ship and run their apps anywhere. Our team has been heads down since the initial launch in late February, taking in feedback and building new features.  This release brings Universal Control Plane 1.1 (UCP), Docker Trusted Registry 2.0 (DTR), and incorporates the latest Docker Engine 1.11 into the subscription with commercial support. In this release we focused on adding features around ease of use and system hardening.