Starting from:
$25

$19

Homework #1: Install Docker and demonstrate that it works.

15 points


In this assignment you are to install Docker and then demonstrate the following commands.

You can submit with either screenshots or a copy of the text output of the commands.

$ docker –version

$ docker run hello-world

$ docker run --detach --publish=80:80 --name=webserver nginx

   (Then use a web browser to go to http://localhost/ ) (Links to an external site.)

$ docker container ls

$ docker container stop webserver

$ docker container ls –a

$ docker container rm webserver

$ docker image ls

$ docker image rm nginx

More products