Master the fundamental concepts of Docker by learning how to run your first container, use external images, and create custom images with Dockerfile. Execute containers with different modes and manage containers effectively, providing the essential foundation for more advanced Docker functionalities.
Overview
Syllabus
- Unit 1: Introduction to Docker and Containerization
- Running Your First Docker Container
- Unit 2: Step-by-Step Container Management
- Pull an External Docker Image
- Create a Named Container
- Start a Pre-Created Container
- Stop a Running Container
- End-to-End Container Management
- Revisiting the Docker Run Command
- Unit 3: Building Custom Images with Dockerfile
- Build a Custom Docker Image
- Specify Dockerfile Location
- Complete the Dockerfile
- Fix Dockerfile Command Order
- Master Dockerfile Writing with a Python Image
- Unit 4: Executing Containers with Custom Port Mapping
- Run Your Container with Port Mapping
- Create and Start a Mapped Container
- Identically Map Host and Container Ports
- Expose and Map Ports in Docker
- Modifying Dockerfile Port Settings
- Unit 5: Mastering Attached and Detached Modes
- Run a Container in Detached Mode
- Starting a Container in Attached Mode
- Executing Two Containers in Detached Mode