Docker Images Lab - where to find python:3.6-alpine?

Hey all,

So I just did the docker images lab but I was stumped on question 14. The question states:

" Build a new smaller docker image by modifying the same Dockerfile and name it webapp-color and tag it lite.

Hint: Find a smaller base image for python:3.6. Make sure the final image is less than 150MB."

But when I run “docker images” I only see two python images and the 900MB image is the smaller one.

Unsure of where to go I dejectedly went to the hint section where it said to use “python:3.6-alpine” but this image wasn’t listed at all. How should I have gone about finding this image without resorting to the Hint section?

Hi @westbrook.jason

It’s really something you pick up. Pretty much everybody produces copies of their images on an Alpine distro.

You would verify the presence and correct tag for an Alpine version of this image by going to dockerhub, search python then on the python page, search 3.6 in tags.

You will eventually find it in the results

1 Like