My goal is to understand why is there a nginx image and also nginx:alpine image.
What I know:
nginxis larger, 52.79 MB.nginxusesdebian:bullseye-slim.nginx:alpineis smaller, 9.51 MB.nginx:alpineusesalpine.- both images can run static html just fine
docker run -p 8080:80 -v ${PWD}:/usr/share/nginx/html nginx:alpine
I cannot wrap my head around why the default image uses debian:bullseye-slim rather than alpine.