Home » Tag Archives: Docker

Tag Archives: Docker

Collecting Metrics and Monitoring Docker Swarm Clusters

docker-logo

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-logo

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

docker-logo

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

docker-logo

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

docker-logo

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

docker-logo

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 »

Build Docker Images with Maven and Gradle

docker-logo

One of the things that you might want to do if you are using Docker and Java is building the image from a Dockerfile in your build tool ( Maven or Gradle).  In this post I am going to show you how to do it in both cases. I am going to assume that you have the de-facto project layout, having the Dockerfile file at the ...

Read More »

Running Fault Tolerant Jenkins Inside A Docker Swarm Cluster

docker-logo

In this article, we’ll discuss a way to create a Jenkins service inside a Docker Swarm cluster and some of the benefits such a service provides. Environment Setup We’ll start by creating a Docker Swarm cluster. I will assume you already have at least a basic knowledge how Docker Swarm Mode works. If you don’t, I suggest you read the ...

Read More »

Trends at JavaOne 2016: Microservices, Docker, Cloud-Native Middleware

docker-logo

Like every year, I attended JavaOne (part of Oracle World) in San Francisco in late September 2016. This is still one of the biggest conferences around the world for technical experts like developers and architects. I planned to write a blog posts about new trends from the program, exhibition and chats with other attendees. Though, I can make it short: ...

Read More »

Service Discovery Inside A Docker Swarm Cluster

devops-logo

The text that follows contains excerpts from the Service Discovery Inside A Swarm Cluster chapter of the The DevOps 2.1 Toolkit: Docker Swarm book. Service Discovery In The Swarm Cluster The old (standalone) Swarm required a service registry so that all its managers can have the same view of the cluster state. When instantiating the old Swarm nodes, we had ...

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