Sample Header Ad - 728x90

Check if I am on a slim (debian OS) image

0 votes
1 answer
268 views
Suppose I run
docker run --rm -ti --entrypoint bash test-image
I know this is based on debian:bullseye but I have no other info about the image.
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/ "
SUPPORT_URL="https://www.debian.org/support "
BUG_REPORT_URL="https://bugs.debian.org/ "
Is there a way (OS-wise) to check if this is a slim docker image of the full flavoured one? e.g. perhaps check some packages which are NOT supposed to be found in a slim image?
Asked by pkaramol (3109 rep)
Aug 1, 2023, 09:44 AM
Last activity: Aug 1, 2023, 10:16 AM