Skip to content

Commit

Permalink
Update I20-1786-Laiba-Noor.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Laiba-Noor authored Nov 28, 2023
1 parent d91dc42 commit 5c09ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion I20-1786-Laiba-Noor.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Containers provide Os level virtualization, sharing the host OS's kernel.It offe
Burstable Compute,Burstable Memory and Low Resource Usage.It solves "Work on my machine issue" as same image is deployed in staging and production.

Q2) Write command to create a docker container in detached mode with name assignment-2-<ROLL_NUMBER> running on host port 9090 and container port 80 using image nginx with version 1.24.0 on a custom network named assignment-2
docker run -d --name assignment-2-I20-1786 -p 9090:80 nginx:1.24.0 --network assignment-2
docker run -d --name assignment-2-I20-1786 -p 9090:80 --network assignment-2 nginx:1.24.0

Q3) Run the above command and add screenshot of it and share the logs
https://imgur.com/a/oNze6tf

0 comments on commit 5c09ace

Please sign in to comment.