Docker 3 Best Ways to Run Docker in Docker Container Docker is a popular tool for building, running, and managing containers. But what if you want to run Docker inside a Docker container, for instance, in a CI pipeline? How can you achieve that? In this article, I will show you three different methods to run Docker in a Docker
Bash Scripting Eof Bash: What Is It and How Does It Work? Have you ever come across the term EOF in a Bash script and wondered what it means or how to utilize this feature effectively? If you've found yourself asking these questions, then you're in the right place. In this blog post, we’ll dive deep into
Bash Scripting How to Convert Bash String to Lowercase String manipulation is a fundamental aspect of scripting in any programming language, and Bash is no exception. One such common task is to convert the case of strings, which is particularly useful in text processing and analysis. In this blog post, we’ll explore two methods of converting Bash string
Terraform Terraform Input and Output Variables Explained Terraform's input and output variables are powerful tools that enable developers to build flexible infrastructure configurations with Terraform.
Bash Scripting Bash Compare Strings: How to Check if Two Strings Are Equal Whether you’re validating user input or processing text data, knowing how to compare strings is an important skill. In this blog post, we’ll look at four different methods you can use to check if two strings are equal. We’ll use examples to explain each method, providing you
Bash Scripting How to Make a Bash Script File Executable in Linux A Bash script is essentially a text file containing a series of commands. To make a Bash script file executable means giving it permission to be run as a program. In this blog post, we'll start by taking a deep dive into the concept of file permissions in
Linux How to Search Packages With Apt Search Command When you want to install a package on Debian-based Linux distributions using apt, you need to know the exact name of the package. But what if you don’t remember the name? Maybe you remember a portion of a multi-word package name or a few distinct characters. How do you
KodeKloud Engineer Unveiling the Future of DevOps Learning: Welcome to KodeKloud Engineer 2.0 We are thrilled to announce the launch of our redesigned KodeKloud Engineer Learning Platform! Our mission is to provide an environment where you can gain real, hands-on experience by working on actual project tasks on live systems. We believe this is the future of DevOps learning, and we're
Linux How to Count the Number of Files in a Directory in Linux Working with Linux often involves dealing with files. One common but deceptively complex task is counting the number of files in a directory. In this blog post, we will explore three different methods for counting the number of files in a directory, each with its own benefits and nuances. Let’
What does gRPC Stand For? If you are a developer who works with distributed systems, you might have heard of gRPC, a framework for remote procedure calls (RPCs). But what role does gRPC play in modern applications setup, and why should you care about it? In this article, we will explore the meaning, architecture, and
Terraform Terraform Variables: Types & Use Cases for Beginners A variable is a container that holds a value. It can be used to represent different values at different times during the execution of a program. They can be assigned a value, which can then be changed or used in execution. A variable in Terraform is similar to a variable
Ansible Copy Module Explained with Examples One area that Ansible’s efficiency makes a huge difference is in the handling of file transfer from the local machine to remote hosts. A task that’s undertaken by the Ansible copy module. This blog explores how the Ansible copy module works, its syntax, and some practical use cases.
AWS Which One Should You Learn? Google Cloud vs. AWS vs. Azure As the demand for cloud computing skills continues to rise, selecting the right cloud platform to learn has become a crucial decision for individuals seeking to enhance their career prospects. Among the leading contenders, Google Cloud, AWS, and Azure offer distinct features and strengths that can propel your learning journey.
Exploring WasmCloud: Your Gateway to Cloud Native Wasm 101 (Part 2) In the first part of our Cloud Native Wasm 101 series, we explored the basics of WebAssembly (Wasm) and its potential in the cloud-native landscape. Introduction to Cloud-Native Wasm: The Basics of Next-Gen Cloud Computing (Part 1)In recent years, WebAssembly (Wasm) has gained immense popularity as a powerful binary
Bash Scripting How to Check if a File Exists in Bash Let's say you're creating a Bash script to save some data in a file. It's important to ensure that the file exists before you try to write to it. If not, your script may not work as expected. This is just one example. In
Sidecar Container: What is it and How to use it (Examples) Have you ever wanted to add extra functionality to your main container without modifying its code or image? Or wanted to monitor, log, or secure your containerized application without affecting its performance? If so, you need to learn about Kubernetes’ sidecar containers. In this article, we’ll explore what a
Linux How to Find Out When a File Was Created in Linux Keeping track of files in Linux is an important part of system administration. Whether you're investigating a security issue or debugging a program, the details of when a file was created can provide essential insights. In this blog post, we’ll discuss how to create a file in
Bash Scripting How to Read a File Line by Line in Bash When dealing with scripting and automation, file manipulation is an essential skill. Whether you’re analyzing log files, processing data sets, or parsing configuration files, the ability to read and interpret file content is critical. In this blog post, we’ll learn how to read a file line by line
shell scripting How to Run Shell Script (.sh) Files in Linux Shell scripts play an important role in the world of Linux. They help automate repetitive tasks and streamline complex procedures. This doesn’t just save users’ time—it significantly reduces the chance of human errors, resulting in more reliable outcomes and improved system stability. In this blog post, we’ll
How to use Terraform Count Index Meta-Argument? (with Examples) In Terraform, a resource block is used to create only one infrastructure component (e.g., a virtual machine like an AWS EC2 instance). But what if you need multiple similar infrastructure components (e.g., multiple virtual machines, like a pool of AWS EC2 instances)? Do you need to write out
Bash Scripting How to Write Bash Scripts to Loop Through Array Values Looping through array values is a common task in Bash scripting. For instance, you might want to loop through an array of filenames and execute specific commands on each one. In this blog post, you’ll learn how to write bash scripts that utilize for loops to iterate through array
Terraform Terraform for_each: A simple Tutorial with Examples Congratulations! You recently joined an SRE team that uses Terraform to provision and manage infrastructure components. After some time, you notice that they configured a couple of similar infrastructure resources using the count meta-argument as seen in the code snippet below: # variables.tf variable "ami" { type = string default
Understanding Terraform Dynamic Blocks with Examples Ever get a headache when going through a long Terraform configuration file filled with repetitive code? You may even find it difficult to understand what exactly is being provisioned and managed by Terraform. Your team may have ignored some best practices, probably due to tight deadlines, but now, the Terraform
Docker How to Build a Docker Image With Dockerfile From Scratch Containers have become the preferred method for packaging and deploying applications in modern software development. Among container platforms, Docker has emerged as the most popular choice for building and managing these containers. Before we can run an application as a container using Docker, we must first build a Docker image.