Return to Activities
Workshop

Introduction to Docker

Learn the basics of Docker and software containers by creating and deploying your first app.

Workshop Overview

  • Beginner
  • 1.5h - 2h
  • Python, Docker

Learning Objectives

  • What are Software Containers and Docker
  • Setting up Docker on your computer
  • Running your first Docker container
  • Building a web application with Python and Docker
  • Deploying your Docker Image to DockerHub

Have a question?

Get in touch if you have any questions regarding this workshop or MLH Localhost.

About this Workshop

During this workshop you’ll teach participants the basics of Docker and Software Containers. The provided content covers setting up Docker, running your first container, creating a basic web application with Python and Docker, and how to push the Docker Image to DockerHub.


Build with Docker

Docker is the world’s leading software containerization platform. Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries - anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.


The Future of Containers

Software Containers are quickly becoming an essential tool in every developer’s toolbelt. They enable developers to be more efficient by making it easy to share, run, and scale code. Docker is the most popular containerization platform and its popularity is increasing with the continued adoption of software containers. Participants who complete this workshop will have a basic understanding of how to use Docker to write better, more sharable software and will gain a skill that may be interesting to future employers.

Requirements / Prerequisites

Participants will be required to have a computer that can connect to the Internet and run the following software:

System Requirements:


Participants should have a basic familiarity with Python (or a similar scripting language) and web applications. During this workshop we will be using the Flask framework to create a basic web application.

Supplies

When you host an MLH Localhost activity, we’ll send you everything you need to run it. Here’s what we’ll send you:

The List:

Resources & Downloads

Installing Docker on your computer

Participants will need to install Docker during this. It will be easier for you to help debug issues if you have been through this before.

Installers

Mac Linux Windows

Getting Started with Python

The basic web application we'll be building is written in Python using the Flask framework. You should complete the basic tutorial on your own.

Read

Getting Started with Flask (Python Web Framework)

The basic web application we'll be building is written in Python using the Flask framework. You should complete the basic tutorial on your own.

Read

Get Started

The hackers are waiting for you.


Have a question?