Home > Undergraduate > Open Source Tools and Scripting >    Labs

  CITS4407/CITS2003 OPEN SOURCE TOOLS AND SCRIPTING
 
 

Lab 1: Docker

Solutions

  1. Log into the lab container and navigate to the directory /lab/week1. Print the contents of the file you find there.
  2. GENERAL KENOBI

  3. What does ~ mean in a file structure?
  4. ~ means home directory. Usually this is /home/USERNAME. In the docker container, the user is stud so the home directory is /home/stud.

  5. Besides these labs, name one application where you think Docker would be a useful tool.
  6. An automated build or test system, or a cloud application (bonus points if you mention kubernetes). Docker is also handy for infrastructure-independent software development.

  7. Bonus: When might someone want to run Docker without the -it option?
  8. -it provides an interactive container, so any application where the user doesn't need to log in or interact with the running program(s). Build/test systems are one option, or a website backend, or a web service.



Department of Computer Science & Software Engineering
The University of Western Australia
Last modified: 8 February 2022
Modified By: Daniel Smith

UWA