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

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

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

Setup RabbitMQ Cluster on Ubuntu 18.04

RabbitMQ

RabbitMQ is one of the most widely deployed open source message brokers. It is an implementation of the Advanced Message Queuing Protocol (AMQP) and Streaming Text Oriented Messaging Protocol, Message Queueing Telemetry transport and other protocols via a plugin.RabbitMQ is written in the Erlang programming language, it offers support for client interfaces and libraries for all major programming languages including Python, NodeJS, Java, PHP etc. Now let’s see how to set up a RabbitMQ Cluster on Ubuntu Server.   Prerequisites We need three Ubuntu 18.04 servers, let the IP and…

Read More

Install Sublime Text on Ubuntu

sublime text editor

Sublime is a popular and widely used text editor that supports multiple programming languages. It is a popular text editor between the developers. It includes wide features such as Syntax Highlight, Auto Indentation, File Type Recognition, Sidebar, Macros, Plug-in and Packages that make it easy for working with the codebase. We can install Sublime through two ways in Ubuntu. Through snapd Through PPA Install Sublime through snapd We can install Sublime-text latest version through below command. After some time it will be installed and sublime will be ready to use.…

Read More

Install Postman on Ubuntu 16.04/18.04/19.10/20.04

Postman install ubuntu

Postman is an application which is currently one of the most popular tools used in API development and testing. It helps you manage your APSs in every stage of development from designing and testing to publishing API documentation and monitoring. It is a very user-friendly interface for calling remote API. Prerequisites Make sure you having Sudo privileges while installing this application. If you are running on Ubuntu 16+ or late, including Ubuntu 18+, Ubuntu 19+ and Ubuntu 20+, you don’t need to do anything. Snap is already installed and ready…

Read More