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. Open Dockerfile from the file tree and write two lines: FROM alpine and CMD ["echo", "Welcome to the greeting app"]. Save it, 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 DockerfilePractice on your own: Terminal playground