Write The Dockerfile
Part of the Introduction to Docker section of Coddy's Terminal journey — lesson 34 of 40.
Challenge
EasyStart the greeting app's image. Write a Dockerfile with two lines: FROM alpine and CMD ["echo", "Welcome to the greeting app"]. Then print it back with cat to check it.
Try it yourself
Terminal
docker images alpineAll lessons in Introduction to Docker
4Managing Containers
Naming ContainersDetached ContainersListing All ContainersStopping And RemovingRecap - Container Lifecycle10Greeting App Project
Project OverviewWrite The Dockerfile