Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Virtual Machines Articles
Found 45 articles
How to pass command line arguments to a python Docker container?
Before getting into the docker container arguments we must know about python command line arguments and how they are accessed by the developer. Command line arguments are of great use when we want our python script to be controlled outside of the program. Access the python script’s command line arguments Step 1: Create a python script main.py Example # sys will allow us to access the passed arguments import sys # sys.argv[0] access the first argument passed that is the python script name print("File or Script Name is :", sys.argv[0]) # print arguments other than the file name ...
Read MoreWhat is the purpose of VOLUME in Dockerfile?
Introduction Docker is a popular containerization platform that allows users to package and deploy applications in a standardized and isolated environment. Docker uses a file called a Dockerfile to specify the instructions for building and running a Docker container. One important element of a Dockerfile is the VOLUME instruction, which specifies a mount point for a volume in the container. In this article, we will explore the purpose and usage of volumes in a Dockerfile. Definition of volume in Dockerfile In the context of Docker, a volume is a persistent storage location that exists outside of the container. Volumes ...
Read MoreHow to rebuild Docker container on file changes?
Docker is a widely used containerization solution that allows programmers to easily package and distribute software in a lightweight and portable manner. The capability of rebuilding a container once modifications are made to its files is one of Docker's key features. This can be very helpful for a number of things, like making sure that code changes are appropriately reflected in a development environment or that code updates are always reflected in a containerized application. In this article, we will go into Docker's crucial feature and examine how it may be used to rebuild a container when files are changed. ...
Read MoreWhat is Mobile Robot?
A mobile robot is a type of automatic machine that can move on its own. It falls under the subfield of robotics and information engineering. Unlike stationary industrial robots, mobile robots can navigate and operate in various environments without being fixed to a single location. They can be categorized as autonomous mobile robots (AMRs), which can move around in uncontrolled environments without external guidance, or they can rely on guidance devices to follow predetermined paths in controlled spaces. Industrial robots, on the other hand, are typically fixed in place and consist of a jointed arm and gripper assembly ...
Read MoreDifference between Virtualization and Hypervisor
Virtualization and hypervisor are closely related concepts in the field of computer science, specifically in the domain of system virtualization. While they are interconnected, they represent different aspects of the virtualization technology. What is Virtualization? Virtualization is a technique that allows the creation and operation of multiple virtual environments or virtual machines (VMs) on a single physical computer or server. It enables the sharing of hardware resources, such as processing power, memory, and storage, among multiple operating systems or applications. Each virtual machine functions as an independent and isolated entity, running its own operating system and applications. There are 4 ...
Read MoreHow to Build Docker Node.js Application?
Introduction: What is Docker and Why Use it for Node.js? Docker is a containerization platform that lets you package your apps and dependencies into a self-contained environment. This means you can run your application in several environments without worrying about dependencies or setup difficulties. Utilizing Docker with Node.js can bring numerous advantages, particularly during the development and deployment stages of your project. You can use Docker to generate a Docker image of your Node.js application that includes all of the dependencies and configurations needed to run it. This image can then be readily distributed to additional developers or deployed ...
Read MoreUnderstanding Internet of Robotic Things
The Internet of Things (IoT) enables connecting smart devices to the network and these devices can communicate with each other without human intervention. This technology allows users to transmit huge amounts of data through wireless media. “Things” are smart devices and sensors that are added to everyday activities using a network connection. IoT devices are classified based on their usage in customer services, industrial needs, and commercial purposes. Networks of IoT can be categorized by the mobile network, Bluetooth connections, WAN, and Mesh protocols. IoT device chooses their network based on distance coverage, bandwidth, signal transmission, etc. In this article, ...
Read MoreUnderstanding Docker Architecture with examples
Describe Docker Docker is an open-source container management platform that is free to use and offers a wide range of tools and utilities for developing, testing, and deploying applications. You can build packed, isolated, and platform-independent containers that include all libraries and dependencies. This will make it simple for you to create and distribute applications. The Docker Platform The Docker platform provides tools and utilities for packaging, building, and running software applications in isolated and containerized environments known as containers. The Docker architecture's security and isolation enable you to do so. Docker includes numerous tools for managing container lifecycles. ...
Read MoreHow to save all Docker images and copy to another machine?
Introduction Docker images are the building blocks of containerized applications. They are lightweight, portable and can be easily shared between different machines. In this article, we'll take a look at how to save all Docker images on one machine and transfer them to another machine. Method 1: Using docker save and docker load One way to save and transfer Docker images is by using the docker save and docker load commands. The docker save command allows you to save one or more images to a tar archive, which can then be transferred to another machine. The docker load command allows ...
Read MoreHow to flatten a Docker image?
Introduction Flattening a Docker image is the process of creating a new, single-layer image from an existing multi-layer image. Flattening an image can be useful in a variety of scenarios, such as reducing the size of the image, improving the performance of the image, or simplifying the image for easier distribution. A flattened Docker image is an image that consists of a single layer, containing all the files and metadata required for the image to function. This is in contrast to a multi-layer image, which consists of multiple layers stacked on top of each other, each containing a subset of ...
Read More