The Dev Perspective
In this lesson, we’ll:
- Clone an app from a Git repo
- Inspect its Dockerfile
- Containerize it
- Run it as a container
The Linux app has already been cloned for you in the widget at the end of this lesson.
The rest of this section will focus on the Linux NGINX example. However, both examples are containerizing simple web apps, so the process is the same. Where there are differences in the Windows example, we will highlight them to help you follow along.
Run all of the following commands in the playground at the end of the lesson.
Clone the repo locally (we have already done this in our playground). This will pull the application code to your local Docker host, ready for you to containerize it.
Be sure to substitute the following repo with the Windows repo if you are following along with the Windows example.