This lesson is designed to introduce new users to Docker using a step-by-step tutorial hosted with MkDocs. The goal of this tutorial is to get a local container running that the user can SSH into, so that they can run this SSH tutorial even without cluster credentials. It covers the fundamentals of containerization, Docker image vs. container differences, and walks through a hands-on example of building and running a container with SSH access.
The tutorial is broken into the following sections:
Introduces the lesson and sets expectations and goals.
Shows how to install Docker Desktop on your system and verify that the installation is working.
Explains the core differences between images and containers and how they compare to virtual machines.
Set up an SSH-enabled container so you can practice SSH commands without needing a cluster account.
To get started:
-
Install Docker following the installation guide.
-
Follow the lessons in order using the navigation or filenames above.
-
Clone or fork this repository if you want to make changes or use this tutorial in your own teaching.
-
A basic understanding of the Unix shell.
-
Familiarity with running commands in the terminal.
-
An understanding of how to read technical documentation. Here's a link to a short lesson which covers the basics.
-
(Optional) Review the Unix Shell tutorial by Software Carpentry
This lesson is made available under the Creative Commons Attribution 4.0 License