Home » Tag Archives: Docker

Tag Archives: Docker

Deploy Docker Compose Services to Swarm

Docker 1.13 introduced a new version of Docker Compose. The main feature of this release is that it allow services defined using Docker Compose files to be directly deployed to Docker Engine enabled with Swarm mode. This enables simplified deployment of multi-container application on multi-host.               This blog will show use a simple Docker Compose file ...

Read More »

How Docker Streamlines Production Deployments

More than anything else, modern development’s primary focus is often based around three central concepts: efficiency reliability repeatability But how do you achieve these three objectives when modern application architectures often have a range of variables in play at any one time, which is further exacerbated by multiple deployment environments? To achieve these goals, you need a technology that removes ...

Read More »

Collecting Metrics and Monitoring Docker Swarm Clusters

In the Forwarding Logs From All Containers Running Anywhere Inside A Docker Swarm Cluster article, we managed to add centralized logging to our cluster. Logs from any container running inside any of the nodes are shipped to a central location. They are stored in ElasticSearch and available through Kibana. However, the fact that we have easy access to all the ...

Read More »

Docker for AWS – Getting Started Video

Docker for AWS allows you to exactly do that! This video shows: Create a highly-available Docker cluster on Amazon Web Services (0:00) Check configuration (5:43) Use Docker services to create a Couchbase cluster (8:23) Enjoy! couchbase.com/containers provide more details about how to run Couchbase in different container frameworks. More information about Couchbase: Couchbase Developer Portal Couchbase Forums @couchbasedev or @couchbase Reference: Docker ...

Read More »

Docker Container Anti Patterns

This blog will explain 10 containers anti-patterns that I’ve seen over the past few months: Data or logs in containers – Containers are ideal for stateless applications and are meant to be ephemeral. This means no data or logs should be stored in the container otherwise they’ll be lost when the container terminates. Instead use volume mapping to persist them outside the containers. ...

Read More »

Docker on Windows 2016 Server

This blog is the first part of a multi-part series. The first part showed how to set up Windows Server 2016 as a VirtualBox VM. This second part will show how to configure Docker on Windows 2016 VM. Start an elevated PowerShell session:             Run the script to install Docker: Install-Module -Name DockerMsftProvider -Repository PSGallery -Force Install-Package ...

Read More »

Forwarding Logs From All Containers Running Anywhere Inside A Docker Swarm Cluster

In this article, we’ll discuss a way to forward logs from containers created as Docker Swarm services inside our clusters. We’ll use the ELK stack. They’ll be forwarded from containers to LogStash and, from there, to ElasticSearch. Once in the database, they will be available through Kibana. Environment Setup We’ll start by creating a Docker Swarm cluster. I will assume ...

Read More »

Windows Server 2016 Using VirtualBox – Getting Ready for Docker

Windows  Server 2016 was announced a few weeks ago.  Download Windows 2016 Server Evaluation version. This blog is the first part of a multi-part series. The first part will show how to set up Windows Server 2016 as a VirtualBox VM. This is an update to Windows Server 2016 using VirtualBox for Docker Containers. Download Windows 2016 Server Evaluation version.  Its ~5GB download so try on ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns