diff --git a/I200858-Waleed-Ahmad.md b/I200858-Waleed-Ahmad.md new file mode 100644 index 00000000..ec15447d --- /dev/null +++ b/I200858-Waleed-Ahmad.md @@ -0,0 +1,3 @@ +A VM (Virtual machine) is a complete machine and has all of it's own resources. Both docker container and VMs are used for running isolated environments. Docker containers are lightweight, share the host OS kernel, and provide efficient resource utilization, making them ideal for microservices, cloud-native applications, and DevOps environments. They offer portability and scalability. In contrast, virtual machines (VMs) are heavier, run separate OS instances, and provide stronger isolation, making them better suited for legacy applications and scenarios requiring high security. The choice between containers and VMs depends on specific use cases and requirements, with many organizations using both to leverage their respective advantages. +docker run -d -p 9090:80 --name assignment-2-I200858 --network assignment-2 nginx:1.24.0 + diff --git a/Screenshot from 2023-10-08 10-27-35.png b/Screenshot from 2023-10-08 10-27-35.png new file mode 100644 index 00000000..d80ca063 Binary files /dev/null and b/Screenshot from 2023-10-08 10-27-35.png differ diff --git a/Screenshot from 2023-10-08 10-28-54.png b/Screenshot from 2023-10-08 10-28-54.png new file mode 100644 index 00000000..c3a5c18e Binary files /dev/null and b/Screenshot from 2023-10-08 10-28-54.png differ