to dockerize an application, firstly we need the code, I am taking a sample Getting Started with Docker project.

After cloning, to dockerize the app, we neeed to create a Dockerfile which will have instructions to containerize the app.

Using touch Dockerfile command, we will create a Dockerfile.

then using vi Dockerfile command, it will open...