docker swarm stack file Explained – Advanced Level

Docker swarm is a docker orchestration tool that comes along with docker engine when helps to manage multiple Docker containers across multiple hosts that are joined to the cluster. Docker Swarm enables high availability for docker containers by increasing the replicas for a particular service. let’s break the above docker-swarm stack file into smaller pieces In some cases, you might need to add a local DNS entry for your container when the hostname is not publically available. The above entry creates an entry in /etc/hosts file of docker container show…

Read More

docker swarm stack file Explained – Beginner Level

Docker swarm is a docker orchestration tool that comes along with docker engine when helps to manage multiple Docker containers across multiple hosts that are joined to the cluster. Docker Swarm enables high availability for docker containers by increasing the replicas for a particular service. if you don’t know what is the difference between docker-compose file vs docker stack check out this article. docker-compose and docker stack In this article, we are trying to explain about docker swarm stack file. We are splitting this article into two levels one is…

Read More

Nexus Blob store and its types

Nexus Repository Manager helps to create a repository for your organization where you store application artifacts and you can use it as a proxy for public repositories. t supports various formats, such as Maven, APT, and Go In this article, we will see what is Nexus blob store and what are the available types in Nexus Repository Manager. Nexus Blob Nexus Blob is the storage place linked to repository where the repository data are saved. By default, nexus uses the local file system as the blob store. The sonartype-work directory…

Read More

Forgot Jenkins password??

Jenkins is a free and open-source automation server. It helps automate the parts of software development related to building, testing, and deploying, facilitating continuous integration and continuous delivery. It is a server-based system that runs in servlet containers such as Apache Tomcat. In this document, we show you how to reset the Jenkins password. This tutorial can be used in a crucial situation when you don’t have any other option to recover the admin username and password. Its always recommended having multiple admin privileged accounts. Step 1: Log in to…

Read More

Build and run docker containers using docker-compose

Docker-compose is an official tool by docker to manage and deploy multi-container applications. Docker-compose uses a YAML file where application services are defined. If you have any confusion between docker-compose and docker stack check out this link. Using the docker-compose file you can build docker images and run the docker containers in a single step. Here we will show you how to do this using a sample nodejs application Check this link to docker-compose installation guide How to install docker-compose in Linux Step 1: Create a folder for your application Step…

Read More

How to install docker-compose in Linux

Docker-compose is an official tool by docker to manage and deploy multi-container applications. Docker-compose uses a YAML file where application services are defined. If you have any confusion between docker-compose and docker stack check out this link. Installation Step 1: Download the docker-compose for your operating system. Step 2: Change the ownership of the downloaded file. This enabled executable permission Step 3: Check the docker-compose version Troubleshooting if the docker-compose command fails, create a symbolic link to the bin folder. sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose © 2020, Techrunnr. All rights…

Read More

Nexus repository as a docker registry

Nexus is a repository manager that helps to collect, proxy, and manage your dependencies in one place. This is a place where you can keep all your artifacts such as libraries, dependencies, etc. To be more clear lets you are developing an application and you have to create a custom Jar module where you want all your developers to use the same for the rest of the module development. If you don’t want other developers to develop the same jar on their own, you publish this kind of dependencies to…

Read More

how to push docker container logs to elk stack

Hi All, This document shows you how to push docker container logs to elk stack. ELK is Elasticsearch, Logstash, and Kibana. ELK is a log analysis platform where users can analyze, visualize, and search. when a docker container runs there are some logs are generated based on the application which runs in the container. These logs can be viewed using docker logs <continer-ID>. you can see the logs of the container using the docker service logs service name if containers are deployed using docker service. docker logs <containerID> shows the…

Read More

docker-compose and docker stack

Docker is a platform that depends on the operating system in applications that are packaged and deployed as containers. By using docker, the applications which designed in a way of microservices architecture deployments became very easy and scalable compared to the monolithic architecture. Most of the people who are new to docker have confusion what is the difference between docker-compose and docker stack. Let’s look into the difference from each search  Installation Docker-compose is an official tool by docker which can be used to manage and build a docker image…

Read More

how to backup and restore elasticsearch indexes using curator

Hi all, this document shows how to backup and restore elasticsearch indexes using a curator. Elasticsearch is a search engine based on the Lucene library. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is developed in Java. Elasticsearch Curator helps you curate, or manage, your Elasticsearch indices and snapshots by: Obtaining the full list of indices (or snapshots) from the cluster, as the actionable list. Iterate through a list of user-defined filters to progressively remove indices (or snapshots) from this…

Read More