Lab 16: Docker Exercise
Objective
To get practice using with Docker Desktop.
Docker Desktop
For this lab, you should install Docker Desktop for your computer. Docker can be installed as a command line tool, as well but the desktop application is perhaps easier to get started with.
Docker Desktop has tabs on the left that let you view:
- Containers that you have which may or may not be running
- Images you have locally
- Volumes, which are storage spaces for containers
- Docker Hub where you can view publicly available images
Spend some time browsing around the interface to get a feel for it.
Task
For this lab, you should install an image of the bash shell. This can be done by first pulling it from the Docker Hub section of Docker Desktop. Then go to the images section and launching it, creating a container. You should then be able to run the container and issue bash commands from your machine.
You can also feel free to browse other images available. Docker is a popular development tool because it allows for installing programming languages, libraries, databases and other developer tools very seamless.
Submitting
Submit a screenshot of bash running in Docker Desktop to the assignment page in Canvas.