Project Overview
Part of the Introduction to Docker section of Coddy's Terminal journey — lesson 33 of 40.
In this project you will build a small greeting app image one step at a time, using the whole Docker workflow: writing a Dockerfile, building it into an image, copying a file inside, and running it.
You will start from the alpine base image, give your image a default command with CMD, personalize it with a COPY'd file, and finish by shipping a version-tagged release. Each lesson rebuilds the image with one more capability.
Challenge
BeginnerTo start, confirm your toolbox is ready: list the alpine images you will build on top of with docker images alpine.
Cheat sheet
This project builds a greeting app image step by step using the Docker workflow:
- Write a
Dockerfilestarting from thealpinebase image - Set a default command with
CMD - Add files using
COPY - Tag releases with version tags
List available images for a specific name:
docker images alpineTry it yourself
This lesson includes a short quiz. Start the lesson to answer it and track your progress.
All lessons in Introduction to Docker
4Managing Containers
Naming ContainersDetached ContainersListing All ContainersStopping And RemovingRecap - Container Lifecycle10Greeting App Project
Project OverviewWrite The Dockerfile