Docker Editions: Community vs Enterprise
| Edition | Typical use case | Key differences |
|---|---|---|
| Community Edition | Local development, CI pipelines, learning | Free and open-source, available for Linux, macOS, Windows |
| Enterprise (historical/commercial) | Production environments needing vendor support, policy, and image governance | Paid support, advanced image management, enterprise controls (offered via vendor products) |

Platforms and how to follow along
Docker Community Edition runs on Linux, macOS, and Windows and is also available on cloud platforms (AWS, Azure, GCP). In this course demo we install Docker on a Linux distribution and run basic containers. If you use macOS or Windows, two common ways to follow along are:- Create and use a Linux virtual machine (for example with VirtualBox) and install Docker inside that VM — this matches the Linux environment used in the demo.
- Install Docker Desktop for macOS or Docker Desktop for Windows for a native, integrated Docker experience on those platforms.
If you choose Docker Desktop on Windows, modern setups typically use WSL2 (Windows Subsystem for Linux 2) to provide a lightweight integrated Linux kernel. Review the Docker Desktop documentation and Microsoft WSL docs for prerequisites and recommended configuration.

Linux installation (demo)
Below is a concise, commonly used approach to install Docker Engine on Debian/Ubuntu-based systems. Adjust package manager commands for other distributions (yum/dnf for RHEL/CentOS/Fedora, zypper for SUSE, etc.). Always consult the official Docker docs for the latest, OS-specific instructions: https://docs.docker.com/engine/install/- Update package lists and install packages to allow apt to use a repository over HTTPS:
- Add Docker’s official GPG key and set up the stable repository:
- Install Docker Engine:
- Optionally, add your user to the docker group so you can run docker without sudo (log out and back in after this):
Verify the installation
Run these commands to confirm Docker is installed and running:- Check Docker version and server/client info:
- Run the official hello-world image to validate runtime:
- List running containers (none after hello-world finishes) and all containers:
Basic Docker commands cheat sheet
| Task | Command |
|---|---|
| Run a container | docker run --rm -it imagename |
| List running containers | docker ps |
| List all containers | docker ps -a |
| List images | docker images |
| Stop a container | docker stop <container-id> |
| Remove a container | docker rm <container-id> |
| Remove an image | docker rmi <image-id> |
Next steps
After installation and verification, try:- Building a simple Dockerfile and image:
- Exploring networking with
docker run -pto expose ports. - Learning image layering and how to optimize Dockerfiles.
Links and references
- Docker Engine installation guides: https://docs.docker.com/engine/install/
- Docker Desktop (macOS & Windows): https://docs.docker.com/desktop/
- WSL2 (Windows Subsystem for Linux): https://learn.microsoft.com/windows/wsl/
- VirtualBox (VM option for macOS/Windows): https://www.virtualbox.org/