{"id":61402,"date":"2022-05-15T21:59:20","date_gmt":"2022-05-15T21:59:20","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/computer-systems-architecture-computer-systems-architecture-university-of-maryland-university-college\/"},"modified":"2022-05-15T21:59:20","modified_gmt":"2022-05-15T21:59:20","slug":"computer-systems-architecture-computer-systems-architecture-university-of-maryland-university-college","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/computer-systems-architecture-computer-systems-architecture-university-of-maryland-university-college\/","title":{"rendered":"Computer systems architecture | Computer systems architecture | University of Maryland University College"},"content":{"rendered":"<div>\n<p>\u00a0<\/p>\n<p><strong>Instructions<\/strong><\/p>\n<p>Install Docker on a\u00a0Linux\u00a0VM. You don\u2019t want to install it on your computer, because it will interfere with other functions on that computer.\u00a0Open a\u00a0Linux\u00a0VM, set the network configuration to be NAT. Download and install Docker inside the\u00a0Linux\u00a0VM\u00a0as an admin. The remaining exercises are to be performed inside the\u00a0Linux\u00a0VM. Open a terminal inside the\u00a0Linux\u00a0VM.\u00a0The following exercises won\u2019t run on Windows VM.<\/p>\n<p>A few useful Docker sites: <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/docker-curriculum.com\/\">https:\/\/docker-curriculum.com\/<\/a><\/p>\n<p>(Q1): From the terminal, type in the following commands and take snapshots after running each command.<\/p>\n<p>To validate the installation is correct, type<\/p>\n<p><strong>$\u00a0docker\u00a0run hello-world\u00a0<\/strong><\/p>\n<p>(Q2): Run a\u00a0Busybox\u00a0container. The pull command fetches the\u00a0busybox\u00a0image from the Docker registry and saves it to the VM.\u00a0<\/p>\n<p><strong>$\u00a0docker\u00a0pull\u00a0busybox<\/strong><\/p>\n<p>(Q3): Find available\u00a0docker\u00a0images in your VM.\u00a0<\/p>\n<p><strong>$\u00a0docker\u00a0images<\/strong><\/p>\n<p>Check that\u00a0busybox\u00a0container is\u00a0\u00a0<\/p>\n<p>(Q4): Run the Docker container\u00a0busybox.\u00a0 When you run the Docker image\u00a0bosybox, Docker loads up the container and then runs a command in the container. When we run \u201cdocker\u00a0run\u00a0busybox\u201d, there is no command, so Docker did nothing and exited.<\/p>\n<p><strong>$\u00a0docker\u00a0run\u00a0busybox\u00a0<\/strong><\/p>\n<p><strong>$<\/strong><\/p>\n<p>If you provide a command after \u201cdocker\u00a0run\u00a0busybox\u201d, that command will be executed<\/p>\n<p><strong>$\u00a0docker\u00a0run\u00a0busybox\u00a0echo \u201chello world from Carlston\u201d<\/strong><\/p>\n<p>Replace \u2018Carlston\u2019 with your name. That way I knew that you are running Docker by yourself. Take a snapshot.\u00a0\u00a0\u00a0<\/p>\n<p>(Q5):\u00a0Run the following command to check what containers are currently running.\u00a0<\/p>\n<p><strong>$\u00a0docker\u00a0ps\u00a0\u00a0<\/strong><\/p>\n<p>It should be no\u00a0docker\u00a0running.\u00a0<\/p>\n<p>Run the following command to see a list of all\u00a0comtainers\u00a0that we ran. Notice the STATUS column\u00a0shows that these containers exited a few minutes ago. Take a snapshot.\u00a0<\/p>\n<p><strong>$\u00a0docker\u00a0ps\u00a0\u2013a\u00a0\u00a0<\/strong><\/p>\n<p>Run the following local host command to see the difference with and without Docker.\u00a0<\/p>\n<p>$\u00a0ps\u00a0-a\u00a0<\/p>\n<p>(Q6): Compare a Virtual Machine (VM), a Container, and a Sandbox based on the features shown in the following table.\u00a0\u00a0<\/p>\n<p><strong>FeaturesTypes\u00a0<\/strong><\/p>\n<p><strong>VM<\/strong>\u00a0<\/p>\n<p><strong>Container<\/strong>\u00a0<\/p>\n<p><strong>Sandbox<\/strong>\u00a0<\/p>\n<p>Same OS as host OS\u00a0<\/p>\n<p>Share data with host\u00a0<\/p>\n<p>Data remains when the VM \/ Container \/ Sandbox is closed\u00a0<\/p>\n<p>Additional OS overhead\u00a0<\/p>\n<p>Performance\u00a0<\/p>\n<p>Storage space\u00a0<\/p>\n<p>Communication among the applications and host\u00a0<\/p>\n<p>Security level\u00a0<\/p>\n<p>Examples of applications\u00a0<\/p>\n<p>Advantages\u00a0<\/p>\n<p>Disadvantages\u00a0<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Instructions Install Docker on a\u00a0Linux\u00a0VM. You don\u2019t want to install it on your computer, because it will interfere with other functions on that computer.\u00a0Open a\u00a0Linux\u00a0VM, set the network configuration to be NAT. Download and install Docker inside the\u00a0Linux\u00a0VM\u00a0as an admin. The remaining exercises are to be performed inside the\u00a0Linux\u00a0VM. Open a terminal inside the\u00a0Linux\u00a0VM.\u00a0The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-61402","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/61402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=61402"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/61402\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=61402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=61402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=61402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}