Docker images can inherit from other images. Therefore, using the official Python docker image allows running Python applications and tools.
docker run --rm -it python bash
After creating and running an interactive container from the python image, I would like to print the Linux distribution information.
lsb_release
However, the lsb_release
command is not found. According to the documentation, it used the Debian distribution as the base image. How can I get the exact distribution information?