Browsed by
Category: Docker

Build ASP.NET Core WebApp with Docker

Build ASP.NET Core WebApp with Docker

It’s a time ago I wrote something on my blog, so it is time again. In this post I want to explain how I build Microsoft NET core applications in an docker container and run them also as an docker. Since some time also Microsoft SQL server is available in an Linux docker container and that makes it an good combination with NET core and Entity Framework. Also I have one application running with NET Core 2.0 and Entity Framework…

Read More Read More

Monitoring servers with ElasticSearch

Monitoring servers with ElasticSearch

When you want to be flexible with server monitoring data ElasticSearch is a good option to collect data. With the ElasticSearch queries you can be creative on which data you want to see. Also the Kibana kan help visualising data and making dashboards. In this blog post I will show you how this can be done. Docker First To build an example we will work with Docker. Of course you can set up ElasticSearch and Kibana directly on the OS….

Read More Read More

Improve Docker ElasticSearch nodes

Improve Docker ElasticSearch nodes

To improve the docker ElasticSearch cluster I have posted here ElasticSearch cluster with Docker we can add memory improvements and monitoring. Memory It is recommend by ElasticSearch to disable any swap memory, since the docker for ElasticSearch is based on Ubuntu swap can be enabled inside the docker. To disable this add the following parameter in Docker run; Next to disabling the swap memory we can increase the ElasticSearch memory, default is 1GB but with this paramater (again in docker run) you…

Read More Read More

ElasticSearch cluster with Docker

ElasticSearch cluster with Docker

In previous posts I explained how-to create the Docker Cluster including the overlay network. Before we can start with the ElasticSearch Cluster it’s required to have the overlay network in place. Let’s get started with the ElasticSearch containers. For this example we will use the following configuration: Docker-Host-Master with IP 192.168.0.1 Docker-Host-02 with IP 192.168.0.2 Network created in docker with overlay drivers and name “clusternetwork”. Network “clusternetwork” has subnet “192.168.20.0/24”. Again you can read my previous post to make sure this is…

Read More Read More

Build an small Docker Cluster

Build an small Docker Cluster

When starting with Docker it mostly run on a single host to test, as soon as the amount of Docker containers grow you can split it to more hosts and even create an Docker Cluster. In this topic I will create an small cluster so all Docker machines can be controlled from one command. To make sure the Docker hosts share information I used Consul. Next to Consul we need to make the Docker daemon accessible for the network and set-up an Docker Swarm to…

Read More Read More