- Linux: https://docs.docker.com/engine/install
- macOS:
brew cask install docker
- Windows: https://docs.docker.com/desktop/install/windows-install
After installing docker, run docker run hello-world
to verify that it works.
Goal: Run a simple Flask application in a Docker container
- Clone this repository to your local machine
- Containerize your Flask application (tip: create a Dockerfile for the application)
- Build the image and give it a name/tag
Goal: Run a simple Flask application that communicates with a Redis server
- Check for a Redis image on Docker Hub and learn how to run it (use it)
- Run the Flask app and a Redis server in containers (tip: use Docker Compose)
Goal: Improve your Dockerfile (and maybe Docker Compose) file using best practices