Difficulty: Beginner
Estimated Time: 10 minutes

You now know how to run containers based on images from official registry, expose ports and mount volumes.

03. Multistage Docker images

Step 1 of 4

Step 1 - Clone the repo

We will try to create an optimized Docker image that contains only the build artifacts using multi-stage build.

To start, first download the Pokedex repository curl -L https://github.com/IonBazan/pokedex/archive/master.tar.gz | tar --strip-components=1 -zx