Skip to content
Suvedhaaarul edited this page Apr 2, 2024 · 2 revisions

1. Docker

i) Develop an app which you want to Containerize

Here I'm having a simple Java App

ii) Create a Dockerfile in the same directory

iii) Use " docker build -t img-name . " command to convert you app into an image.

iv) Use " docker run img-name " to run your app and convert that into a Container.

v) You can also view your container from DOCKER DESKTOP.

vi) Run your container from DOCKER DESKTOP.