Tiago Pedrosa @IPB.PT
Labtainers provide controlled and consistent execution environments in which students perform labs entirely within the confines of their computer, regardless of the Linux distribution and packages installed on the student's computer or VM. The only requirement is that the Linux system supports Docker.[1]
Follow the following steps to install:
-
It can be installed on an existent Linux machine or virtual machine. The easy way will be to use a template (appliance) of virtual machine for VirtualBox or Vmware. Available at [2].
-
After downloading the appliance import it to the virtualization solution that you are using (VirtualBox or Vmware)
-
Start the virtual machine
-
Login using the user student and the password password123
-
Change date&time to the timezone Lisbon/Portugal, check keyboard layout
-
Update and upgrade the virtual machine and reboot
- After this reboot and read the student guide[3]
- Also check the toturials page, with some videos about the installation and use of labtainers[4].
Resuming the workflow to do the labs, student should be inside directory ~/labtainers/labtainers-student.
For starting a lab use de command: labtainer <labname>
When requested for your email in the beginning of the labs, use your XXXXX@alunos.ipb.pt email.
For automatic graded labs, studends can check their grade by executing the command checkwork
on the directory ~/labtainers/labtainers-student.
After finishing the lab, execute the command: stoplab <labname>
The results will be stored in ~/labtainer_xfer/ directory with subdirectory per lab with .lab file that needs to be submitted for evaluation.
- https://nps.edu/web/c3o/labtainers
- https://nps.edu/web/c3o/virtual-machine-images
- Student Guide
- More Labtainers Tutorials
Tiago Pedrosa
EHN: 2022-2023 Updates