diff --git a/1.png b/1.png new file mode 100644 index 00000000..08d1ef5e Binary files /dev/null and b/1.png differ diff --git a/assignment-2/I202362-ALEENA-ADIL.md b/assignment-2/I202362-ALEENA-ADIL.md new file mode 100644 index 00000000..8c6a0d7b --- /dev/null +++ b/assignment-2/I202362-ALEENA-ADIL.md @@ -0,0 +1,17 @@ +# Q1. + +- VMS take a longer time to run compared to containers which are quicker to run +- VM uses a lot of system memory while containers use less system memory +- VMs are more secure as underlying hardware is not shared while it is containers hence not as secure +- VMs are the better choice when we require all of the OS resources while containers are useful when we are required to max the running apps using minimal servers. +- VMs are generally larger in size than containers + +# Q2 + +docker network create assignment-2 +docker run -d --name assignment-2-I202362 -p 9090:80 --network assignment-2 nginx:1.24.0 + +# Q3 + + +