Introduction When it comes to Docker many people ask about the courses for learning and mastering containerization and deployment using Docker. Based on my experience of using Docker I feel the best resources to learn Docker are available at Docker Documentation. Here I will list out 5 basic steps which will help all, who wish to […]
Tag: docker swarm
Configuring Kibana and ElasticSearch for Log Analysis with Fluentd on Docker Swarm
Using Kibana and ElasticSearch for Log Analysis with Fluentd on Docker Swarm Introduction In my previous post, I talked about how to configure fluentd for logging for multiple Docker containers. The post explained how to create a single file for each micro service irrespective of its multiple instances it could have. However, Log files have […]
How to maintain Session Persistence (Sticky Session) in Docker Swarm
How to maintain Session Persistence(Sticky Session) in Docker Swarm with multiple containers Introduction Stateless services are in vogue and rightfully so as they are easy to scale up and are loosely coupled. However, it is practically impossible to stay away from stateful services completely. For example, say you might need a login application where user session […]
Designing Microservice Architecture with Docker Swarm
Design considerations for a microservice architecture with Docker Swarm Introduction When designing a microservice architecture there are various design considerations needs to be taken care of especially in terms of scalability, high availability, resilience and loose coupling. Recently we went live with our application which is based on microservices architecture and hosted on Docker Swarm. […]
How to Automate Docker Swarm Service deployment using Jenkins
How to Automate service deployment to Docker Swarm using Jenkins Introduction Jenkins is a wonderful tool for continuous integration and continuous deployment. The plethora of plugins available makes it really powerful. In this tutorial, I will show you how to use Jenkins to automate swarm deployment. How to do it To do a Docker Swarm […]
Installing Docker Images from private repositories in Docker Swarm
Installing Docker Images from private repositories in Docker Swarm Introduction On a Docker Swarm you can deploy only those images which come from a Docker repository as all the manager/worker nodes need to pull them separately. When the Docker images are pulled from public repository like DockerHub they can be easily deployed using a simple […]
Docker Swarm : How to Collect logs from multiple containers and write to a single file
Write multiple docker container logs into a single file in Docker Swarm Introduction So recently I had deployed scalable micro services using Docker stack deploy on Docker swarm. Now I had multiple micro services running on multiple nodes. To analyse any micro service I had to log on to the manager node and find out […]
How to Create a Docker Swarm and deploy stack of services
Create Docker Swarm and install services to Docker swarm using docker stack deploy Introduction Setting up of cluster node topology and managing nodes have always been a pain for any developer or infrastructure engineers. Docker swarm makes it ridiculously easy to create a node cluster topology and get a service up and running in a […]