Recap - Image Builder
Part of the Introduction to Docker section of Coddy's Terminal journey — lesson 24 of 40.
Challenge
MediumBuild and run your own image end to end. Run these commands one after the other:
- Write a Dockerfile that is
FROM debianand setsCMD ["echo", "my first image"] - Build it tagged
portfolio:v1 - Run it with no command so the
CMDprints
Try it yourself
Terminal