Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Mastering Docker Compose: Use Cases, Architecture, and Workflow

What is Docker Compose? Docker Compose is a tool used to define and manage multi-container Docker applications. Instead of managing each container individually, Docker Compose allows you to describe an entire application’s services, networks, and volumes in a single YAML file. This configuration file makes it easy to set up, manage, and orchestrate a complex … Read more

NGINX Proxy: Optimizing Web Traffic and Enhancing Performance

🚀 What is NGINX Proxy? NGINX Proxy is a highly efficient reverse proxy and load balancer server used to manage web traffic and distribute it across multiple backend servers. NGINX (pronounced “Engine-X”) is well-known for its high performance, scalability, and reliability. It is often used in production environments to serve static files, handle dynamic requests, … Read more

Setup Docker service to use insecure(http) registry instead of https

By default docker use https to connect to docker registry. But there can be use cases to use insecure registry. Here are the steps to use insecure registry. In ubuntu edit the file /etc/default/docker and update DOCKER_OPTS e.g where 10.84.34.155 is ipaddress of registry and 5000 is your port on which registry is configured. In … Read more

docker pause and unpause explanined!

As of Version 0.12.0, Docker supports PAUSE and UNPAUSE commands to pause and resume containers using cgroup freezer. The docker pause command suspends all processes in the specified containers. On Linux, this uses the cgroups freezer. Traditionally, when suspending a process the SIGSTOP signal is used, which is observable by the process being suspended. With … Read more

Lifecycle of Docker Containers

We need to carefully understand the life cycle of Docker containes. There are following images which depicts the the right phases of docker containers. Phase of Docker Containers Create -> Destroy Create -> Start -> Stopped -> Destroy Create -> Start -> Pause -> Unpause Create -> Start -> Restart Image flow of Simple Docker … Read more

Working with Ports in Docker Containers

Port expose and publish has to happen when a container is created. Just stop the existing container and create a new one in its place with the added expose and/or publish options. By default Docker containers can make connections to the outside world, but the outside world cannot connect to containers. Each outgoing connection will … Read more

What is SELinux and how its SELinux used in Docker?

What is SELinux and how its SELinux used in Docker? There are three popular solutions for implementing access control in Linux: SELinux AppArmor GrSecurity Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies. It is a security feature of the Linux kernel. It is designed … Read more

How to run UI testing in Docker container using Selenium

Docker is one of the revolutions technologies which has created lots of buzz in the Software development practices. Docker has not only helped to setup Continuous Integration and Delivery but also manage and replicate test environments and deploy a large at scale in no time. Here are the following advantages which benefit to testing team … Read more

docker-compose prepends current directory name to named volumes

docker-compose

Issues – docker-compose prepends current directory name to named volumes What actually happens is that the named volume gets prepended with (a simplified version of) the directory name from which the docker-compose command was run. For instance, if I run from the “dcompos-programs” directory, and I name the volume “my_named_vol”, then I end up with a … Read more