Home » Tag Archives: Docker

Tag Archives: Docker

A Beginner’s Guide to the Dockerfile

docker-logo

The humble but powerful Dockerfile is the building block of Docker images and containers. In essence, it’s a list of commands the Docker engine runs to assemble the image, and thus instances of images as containers. Let’s look at an example before learning to construct our own. This is the Dockerfile for RethinkDB, a popular open-source, real-time database. dockerfile FROM ...

Read More »

Reducing Your Docker Image Size

docker-logo

When architecting Docker applications, keeping your images as lightweight as possible has a lot of practical benefits. It makes things faster, more portable, and less prone to breaks. Lightweight images also make it easier to use services like Jet, Codeship’s Docker CI/CD platform; they’re less likely to present complex problems that are hard to troubleshoot, and it takes less time ...

Read More »

6 Docker .NET App Templates To Get You Started On Containers

docker-logo

This is the first blog of a three part blog series that discusses the automated deployment of .NET applications on both Linux and Windows containers. In this blog, we will cover the deployment of very basic ASP.NET and ASP.NET MVC applications on Linux containers using HyperForm, a deployment automation platform that simplifies the application journey to containers. The blog covers ...

Read More »

Testing Spark Streaming: Integration testing with Docker Compose

docker-logo

In the first post of this series, we saw how to unit test Spark Streaming operations using Spark Testing Base. Here we’ll see how to do integration testing using Docker Compose. What is Integration testing We previously saw a discussion about unit and integration testing. Again, as we want to keep the post focused, we’ll work with a definition of ...

Read More »

Distributed Application Bundles (Tour Around Docker 1.12 Series)

docker-logo

The new Swarm bundled in Docker 1.12+ is a vast improvement compared to the old orchestration and scheduling. There is no more the need to run a separate set of Swarm containers (it is bundled in Docker Engine), failover strategies are much more reliable, service discovery is baked in, the new networking works like a charm, and so on. The ...

Read More »

Docker Swarm Introduction (Tour Around Docker 1.12 Series)

docker-logo

Docker just published a new Docker Engine v1.12. It is the most significant release since v1.9. Back then, we got Docker networking that, finally, made containers ready for use in clusters. With v1.12, Docker is reinventing itself with a whole new approach to cluster orchestration. Say goodbye to Swarm as a separate container that depends on an external data registry ...

Read More »

Labels and Constraints with Docker Daemon and Service

docker-logo

Metadata, such as labels, can be attached to Docker daemon. A label is a key/value pair and allows the Docker host to be a target of containers. The semantics of labels is completely defined by the application. A new constraint can be specified during service creation targeting the tasks on a particular host. Let’s see how we can use labels and constraints in Docker ...

Read More »

Couchbase Docker Container on Amazon ECS

docker-logo

This blog will explain how to run a Couchbase Docker container using Amazon EC2 Container Service (Amazon ECS). Many thanks to @moviolone for helping understand the concepts and getting this setup running. What is Amazon ECS? Amazon ECS is a container management service that makes it easy to run, stop, and manage Docker containers on a cluster of Amazon EC2 instances. Amazon ...

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:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials