Summary and Schedule
Welcome to learn how to use Docker containers as a working environment during the Midsummer QCD school. Containers will be used during the hands-on lessons on Monte Carlo generators, maching learning and CMS open data.
In this lesson, you will be asked to download the containers that will facilitate your work for the Monte Carlo generator and ML lessons and for CMS open data, and learn the basics of their use. During the school, you might need to download other containers, but once you worked through this lesson, you will find it easy.
This is not a full introduction to Docker, however, we do take time to explain some key concepts that should make your experience a smooth one.
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Introduction |
What is docker? What is the point of these exercises? |
Duration: 00h 05m | 2. Installing docker |
How do you install Docker? What are the main Docker concepts and commands I need to know? |
Duration: 00h 40m | 3. Docker containers for CMS open data | What container images are available for my work with the CMS open data? |
Duration: 01h 15m | 4. Docker containers for Monte Carlo generators and Rivet | What container images are available for MC generators ? |
Duration: 01h 50m | 5. Building your own docker image | What if the container image does not have what you need installed? |
Duration: 02h 20m | 6. Sharing your docker image |
How to share a container image in Docker Hub? How to build and share a container image through GitHub |
Duration: 02h 50m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Working environment
Note
We expect participants to work in a Unix environment on their laptop.
If you are unfamiliar with the Unix shell, you can work through the exercises in The Unix Shell tutorial by Software Carpentry.
Windows users: the Unix tutorial gives git bash
as an
option. However, for all work during the hands-on session:
- do not use
git bash
- do not use
Power shell
(apart from installing WSL2) - activate WSL2 and use the Ubuntu terminal that comes with it!
Activate WSL2 and use the Ubuntu terminal.
Note that if the Ubuntu terminal does not open properly, you might need to enable Virtualization in the BIOS menu.
You might also need to set a parameter in Command prompt (run it as admin):
bcdedit /set {current} hypervisorlaunchtype auto
and restart the computer.
Note that if you use virtual images e.g. VirtualBox on the same
computer, you need to set that parameter to off
and
restart. So no WSL2 and VirtualBox in the same session.
Use Terminal.app
Use Terminal