In this tutorial we will ship our logs from our containers running on docker swarm to elasticsearch using fluentd with the elasticsearch plugin. We will also make use of tags to apply extra metadata to our logs making it easier
Swarm
A collection of 8 posts
Docker Swarm Persistent Storage with NFS
In this tutorial we will experiment with Docker Swarm Persistent Storage, backed by NFS using ContainX's Netshare Service Get the dependencies:If you have not provisioned a swarm using docker, have a look at setup a 3 node docker swarm
Container Persistent Storage for Docker Swarm using a GlusterFS Volume Plugin
From one of my previous posts I demonstrated how to provide persistent storage for your containers by using a Convoy NFS Plugin. I've stumbled upon one AWESOME GlusterFS Volume Plugin for Docker by @trajano, please have a look at his
Use Docker Secrets with MySQL on Docker Swarm
Today we will use Docker Secrets, more specifically store our MySQL Passwords in Secrets, which will be passed to our containers, so that we don't use clear text passwords in our Compose files. #carbonads { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Docker Stacks - Creating a Nodejs Hostname Application on Swarm
Create a Nodejs Application that responds GET requests with its Hostname. We will be using Docker Swarm to create a Stack of our Nodejs application, which will sit beind a HAProxy Load Balancer, we are mounting the docker.sock from
Create a Elasticsearch Cluster on Docker Swarm with Alpine
I personally believe that databases should reside outside your swarm, but for testing we will create a Elasticsearch Container from a Alpine Image to keep the size of our image small, which is also great for a testing environment. The
Setup a 3 Node Docker Swarm on Ubuntu 16
In this guide we will go through the steps on setting up a 3 node Docker Swarm. For more detailed information, and setting up a scalable application have a look at this post Getting Started: Bootstrap Docker Swarm Setup with
Docker Swarm: Getting Started with a 3 Node Docker Swarm Cluster with a Scalable App
What are we up to today? Install Docker and Docker Compose on 3 Nodes Initialize the Swarm and Join the Worker Nodes Create a Nginx Service with 2 Replicas Do some Inspection: View some info on the Service Demo: Create
Subscribe to Sysadmins
Subscribe today and get access to a private newsletter and new content every week!