Open Source Articles

Page 45 of 123

Build a flask App using Docker Compose

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 2K+ Views

Docker Compose allows you to build multi-container Docker applications. If you are working on a microservice project where you have different nodes working on different parts of the project, Docker Compose is exactly what you need. Using Docker Compose, you can work on different components of the project on different Docker containers and combine them to create a single application. In this article, we are going to discuss how to build a Flask application which uses Python modules and we will try to run it inside a Docker container using Docker Compose. Installing Docker Compose First, you ...

Read More

Create a simple Numpy Jupyter Notebook using Docker

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 532 Views

Machine learning and Data Science have become essential technologies in modern computing. Organizations adopt Data Analytics and Machine Learning techniques to predict sales and increase revenue. If you want to build machine learning models in a dynamic and contained environment, Docker containers provide an excellent solution. You can build and run Machine Learning models easily inside Docker Containers with the help of Jupyter Notebooks. The containerized environment provides better version control of your Python or R libraries and packages used in Machine Learning projects. In this article, we will discuss how to create a simple NumPy Jupyter Notebook ...

Read More

Working with Docker Swarm

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 1K+ Views

Docker Swarm is a container orchestration tool that enables you to manage a cluster of Docker nodes as a single virtual system. It provides native clustering functionality for Docker containers, allowing you to deploy and scale applications across multiple machines while maintaining high availability and load balancing. In a Docker Swarm cluster, there are two types of nodes: manager nodes that control the cluster and make orchestration decisions, and worker nodes that run the actual containers. The swarm manager handles scheduling, load balancing, and service discovery automatically. Docker Swarm operates in two service modes: Replicated Service mode where ...

Read More

User defined bridge on Docker network

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 1K+ Views

A user-defined bridge network in Docker provides enhanced networking capabilities compared to the default bridge network. It allows containers to communicate using container names instead of IP addresses, offers better isolation, and provides more flexible network management options. Advantages of User-Defined Bridge Networks User-defined bridge networks offer several key benefits over default bridge networks: Name-based communication − Containers can access each other using names or aliases instead of IP addresses Better isolation − Only containers within the same user-defined network can communicate with each other Dynamic connectivity − Containers can be connected or disconnected from networks ...

Read More

Running Docker Container as a Non Root User

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 7K+ Views

When you run an application inside a Docker Container, by default it has access to all the root privileges. You might have noticed that when you open an Ubuntu Docker Container bash, you are logged in as the root user by default. This can prove to be a major security concern for your application. Any unauthorized access can compromise the entire container along with all the files and applications running inside it. Hence, it becomes very important to perform operations as a non-root user wherever possible. In this article, we will discuss two methods to run Docker containers as ...

Read More

Top skills that would be handy before taking up a technical role

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 143 Views

Getting through all the tedious interview rounds of big tech giants for internships and jobs is in itself a big task. But once you clear the interview rounds and secure a job or an internship, the journey does not end there. In fact, this will be the time you need to upskill yourself in order to keep up with the pace of shift in technological stacks that the tech industry goes through. In this article, we will be discussing top skills that would be very handy if you would learn it before taking up the job or internship position. ...

Read More

How to change file or directory permission in Linux/Unix?

Shilpa S
Shilpa S
Updated on 17-Mar-2026 2K+ Views

We know that Linux/Unix is a multiuser operating system where files and directories are associated with permissions so that only authorized users can access the files. The chmod command is used to change the access permission of files or directories. Syntax The general syntax of the chmod command is as follows − chmod [OPTION]... [Mode]... [File]... The chmod command contains three parameters that help set or change file permissions. Let's discuss each parameter in detail. Command Options A brief description of options available in the chmod command − ...

Read More

How to change the shell working directory in Linux?

Shilpa S
Shilpa S
Updated on 17-Mar-2026 1K+ Views

To change the shell working directory, we use the cd command in the Linux system. The cd (change directory) command is one of the most fundamental navigation commands that allows users to move between different directories in the filesystem. cd (change directory) The cd command is used to change the current working directory in Linux/Unix operating systems. It is equivalent to the cd or chdir command in Windows. The command is also available in the EFI shell (Extensible Firmware Shell). By default, when you open a new terminal session, the current working directory is set to your home ...

Read More

How to check total space and available space in Linux using the terminal?

Shilpa S
Shilpa S
Updated on 17-Mar-2026 894 Views

In Linux/Unix systems, the df (disk free) command is the primary tool for checking storage details and disk space usage. It displays total space, used space, and available space for mounted file systems through the terminal. df (disk free) command The df command reports file system disk space usage in the Linux system. By default, it shows space usage in 1K blocks, but various options make the output more readable and useful for different purposes. Syntax The general syntax of the df command is as follows: $ df [OPTION]... [FILE]... Common Options ...

Read More

How to compare two sorted files line by line in the Linux system?

Shilpa S
Shilpa S
Updated on 17-Mar-2026 2K+ Views

To compare two sorted files line by line in Linux, we use the comm command. The comm command compares two sorted files and displays the differences and similarities in a structured three-column format. The comm command writes output to three tab-separated columns: the first column contains lines unique to the first file, the second column contains lines unique to the second file, and the third column contains lines common to both files. Both input files must be sorted for comm to work correctly. Syntax The general syntax of the comm command is − comm [OPTION]... ...

Read More
Showing 441–450 of 1,225 articles
« Prev 1 43 44 45 46 47 123 Next »
Advertisements