Menu
CoddyTech

Build And Run

Part of the Introduction to Docker section of Coddy's Terminal journey. Lesson 35 of 40.

challenge icon

Challenge

Medium

Now turn the Dockerfile into a real image and run it. The Dockerfile from the previous step is in your directory (open it from the file tree if you want to check it). Run these commands one after the other:

  1. Build it tagged greetapp
  2. Run greetapp so its CMD greeting prints

Try it yourself

Terminal
cat Dockerfile

All lessons in Introduction to Docker

Practice on your own: Terminal playground