Hemant Sharma

Hemant Sharma

34 Articles Published

Articles by Hemant Sharma

Page 4 of 4

How to add Credentials to Docker ADD command?

Hemant Sharma
Hemant Sharma
Updated on 05-Jan-2023 5K+ Views

Introduction Security has always been a great threat to mankind. In IT the security of credentials is a tedious task. Here, we are going to discuss various methods to add the credentials to the docker container. Also, the most useful and secure methods are mentioned. Methods Adding credentials can be done in a lot of different ways. Some of the types are mentioned below. Each method has its place in the industry. Some are just rejected by the developers due to security issues and some works very well in the case of credential security. Using the Build ...

Read More

How to run amd64 Docker images on the arm64 host platform?

Hemant Sharma
Hemant Sharma
Updated on 28-Dec-2022 10K+ Views

Before knowing how to run amd64 docker images on the arm64 host platform, we must know what this means. There is a term called multi-architecture or multi-platform docker container images. These images contain the ability to run on various base or host architectures provided at the time of containerization of the images. Need of Multiplatform images Suppose you are a DevOps engineer and you have to prepare a web-server for an IT company. You have an amd64 host platform but when you handed over the image to the company you came to know that the company only works on the ...

Read More

How to run Gunicorn on Docker?

Hemant Sharma
Hemant Sharma
Updated on 28-Dec-2022 8K+ Views

In this article, we are going to learn about how to run Gunicorn on Docker. Before creating the docker container with the gunicorn functionalities, we must know some of the basics of web servers and gunicorn. Introduction to Gunicorn Let us suppose we have a web server that shows the output of a python code to the users. This web server will execute the python script each time a request came to it, this will cause it to restart, overload, and delay (heavy delay for huge scripts) in response. So the real problem here we have is a static server ...

Read More

How to Hot-Reload in ReactJS Docker?

Hemant Sharma
Hemant Sharma
Updated on 28-Dec-2022 10K+ Views

Hot-Reloading is adding dynamic functionality to the react application on the web browser. This means if we change something in the code of the application it immediately reflects this change on the web application front. But before “reloading” anything we must know “loading”, that is to make some ReactJs project on the Node Docker container. Creation and Containerization of React App Step 1: React app Use the prebuild commands to create a basic react application. Example $npx create-react-app reactapp Output npx: installed 67 in 19.076s Creating a new React app in /home/hemant/project/reactapp. Installing packages. This might take ...

Read More
Showing 31–34 of 34 articles
« Prev 1 2 3 4 Next »
Advertisements