A Journey of a Thousand Miles Begins with a Single Step

Use Travis CI in Github to build and deploy to dockerhub

I love reveal.js - The HTML Presentation Framework. Attending at the Javaland 2016 Conference I saw a awesome usage of reveal.js within a docker container in the Docker Patterns Talk by Roland Huß. Curious and eager to know I explored his github account. Mr. Huß offers the basics in the docker-reveal repository. Using github for docker builds is a great idea. Then I started to play around with docker myself, mostly to maintain and ease administering multiple elasticsearch nodes in a cluster. I felt using github offers me the opportunity to use Travis CI to build the docker image and deploy it to dockerhub - the docker image storage. Is was easier than I thought and is much better than building it manually everytime. This post covers the progress and results.

Read more

Resolve critical elasticsearch cluster health

From time to time, you need to perform a cluster upgrade in elasticsearch. During an upgrade, usually the cluster health turn from green to yellow. If it turns red, it is a critical state. One reason might be, that elasticsearch can’t replicate data shards, though the replicas are gone or lost. Using the ES Health REST API, allows you to identify the corrupt indices and delete them.

Read more

Hello Elasticsearch Docker

A quick example how to run Elasticsearch with Docker. For the demo I use the the official image from Elasticsearch at dockerhub.

Read more

Remove all exited docker images

Playing around with docker may leave a lot of exited images. A one-line command to cleanup your working environment. :-) Just use sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm. Remove the sudo if you are root.

Read more

A Glance at Service Discovery

Service discovery is a key component of most distributed systems and service oriented architectures. Microservices have a demand for a service discovery that keeps track and communicate the provided instances to service consumers. On the Javaland conference, I could fetch some information regarding products, those offers service discovery.

Read more

Remove docker containers from a dedicated image

Show all containers

Read more