- Log into the lab container and navigate to the directory
/lab/week1
. Print the contents of the file you find there.
GENERAL KENOBI
- What does
~
mean in a file structure?
~
means home directory. Usually this is /home/USERNAME
. In the docker container,
the user is stud
so the home directory is /home/stud
.
- Besides these labs, name one application where you think Docker would be a useful tool.
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.
- Bonus: When might someone want to run Docker without the
-it
option?
-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.