Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.02 KB

AETTUA Docker Workshop

Presentation

🛠️ Tools

📦 Docker

After installing docker, run docker run hello-world to verify that it works.

🙌 Hands-on

Phase 1

Goal: Run a simple Flask application in a Docker container

  1. Clone this repository to your local machine
  2. Containerize your Flask application (tip: create a Dockerfile for the application)
  3. Build the image and give it a name/tag

Phase 2

Goal: Run a simple Flask application that communicates with a Redis server

  1. Check for a Redis image on Docker Hub and learn how to run it (use it)
  2. Run the Flask app and a Redis server in containers (tip: use Docker Compose)

Phase 3

Goal: Improve your Dockerfile (and maybe Docker Compose) file using best practices