Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions assignment-2/I202362-ALEENA-ADIL.md
Original file line number Diff line number Diff line change
@@ -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

<img src="../1.png">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

screenshot is wrong, its showing error in running the container...
but command is correct above