Solution

The solution to exercise 2

If you have cracked the code and were able to solve the problem, you might be feeling a little overwhelmed now. Since you have written your first Dockerfile and it worked, kudos to you.

If you were not able to solve it, no issues. Revise your lessons, specifically, “Build your First Docker Image”. Most probably, you will be able to solve if you follow along with that lesson.

Even if you are not able to solve it, go through this solution, and implement it again. This way, you will understand it thoroughly.

Get hands-on with 1400+ tech skills courses.