Skip to content

Module 5 Assignment - Docker Setup & Application Deployment

1. Explore Docker Installation Options

Explore various options to install Docker locally on your laptop:

  • Docker Desktop - Used to be popular but now requires a paid license.

  • Colima - Container runtime for macOS (Intel and M1 Macs) and Linux

    • Simple CLI interface, Docker and Containerd support
    • Port forwarding, volume mounts, Kubernetes
    • Designed as a replacement for Docker Desktop
  • Podman - Container Swiss-Army knife from RedHat

    • Supports multiple image formats including OCI and Docker
    • Full container lifecycle management and image layer management
    • Podman 3.4+ supports M1 Apple Macs
    • Alternative to Docker Desktop

Task:
Set up Docker on your laptop using one of the above options (or another solution you find).
Please let us know which one you deployed at the end.
To pass this task: provide a screenshot.


2. Docker Hub Account

Create a free Docker Hub account: https://hub.docker.com/

Task:
Provide your Docker ID or a screenshot of your account page.


3. Read on CMD and ENTRYPOINT

Resources:
- Demystifying ENTRYPOINT & CMD
- Dockerfile CMD reference
- Dockerfile ENTRYPOINT reference
- ENTRYPOINT Glossary

Task:
- Explain when to use CMD
- Explain when to use ENTRYPOINT
- Explain when to use ENTRYPOINT in combination with CMD