Question 1. Understanding docker first run

Run docker with the python:3.12.8 image in an interactive mode, use the entrypoint bash.

What's the version of pip in the image?

docker run -it --entrypoint bash python:3.12.8

pip --version

(base) yedan@de-zoomcamp2:~/data-engineering-zoomcamp$ docker run -it --entrypoint bash python:3.12.8

Unable to find image 'python:3.12.8' locally

3.12.8: Pulling from library/python

fd0410a2d1ae: Pull complete

bf571be90f05: Pull complete

684a51896c82: Pull complete

fbf93b646d6b: Pull complete

12f3828c4288: Pull complete

4d8be491b866: Pull complete

ec162e081748: Pull complete

Digest: sha256:2e726959b8df5cd9fd95a4cbd6dcd23d8a89e750e9c2c5dc077ba56365c6a925