You are on page 1of 2

Experiment No. 1.

3
Student Name: Biki Kumar Rai UID: 22MCC20118
Branch: MCA - CCD Section/Group: 22MCD-2/ Grp B
Semester: III Date of Performance: 15th Oct, 23
Subject Name: Docker Lab Subject Code: 22CAH-742

1. Aim/Overview of the practical:


Deploying Docker images as Stateless Containers

2. Code/Steps for experiment:


Step 1: Open Ubuntu and open Terminal.
Step 2: Pull the image from the default registry (Docker hub) by using the command “ docker pull
imagename : tag”.
Step 3: After pulling the image run the image by using the command “ docker run -d -p 5050:80
nginx”
(- d for detach mode and – p for port number and nginx is an example for the image we pulled).
3. Result/Output/Writing Summary:

You might also like