BilimEdtech Labs
Labs:
Cloud Computing Labs
Lab 1: Set up your VPS
Lab 2: Configure Nginx as a Reverse Proxy
Lab 3: Docker Compose and Volumes
Lab 4: Modifying a Dockerfile
Lab 5: Building a Docker Image
Lab 5: Overview
Dockerfile
Step 1: Create a Basic Dockerfile
Step 2: Daemonize Docker
Step 3: Building a
Hello
World
Python Image
Lab 6: Flask Python App
Lab 8: VPS Security
Reference Guides
NASM Assembly Code
C Programming
Operating Systems
Workshops:
Workshops
BilimEdtech Labs
»
Cloud Computing Labs
»
Lab 5: Building a Docker Image
View page source
Lab 5: Building a Docker Image
Table of Contents
Lab 5: Overview
Goals for Lab 5
Dockerfile
Resources
Dockerfile Elements
Step 1: Create a Basic Dockerfile
5.1.1. Create a test image
5.1.2. Adding Functionality
5.1.4. Container Names
5.1.5. Wrap-up
Step 2: Daemonize Docker
5.2.1. Docker Daemon Mode
5.2.2. Debugging
5.2.3. Wrap-up
Step 3: Building a
Hello
World
Python Image
5.3.1. A Basic Python Image
5.3.2. Modify the Container Code
5.3.3. Mounting a Volume
5.3.4. Wrap-up
5.3.5. Docker Compose (optional)