Does every docker container has a a OS?
Your docker image could be without an OS, that's called distroless image.

https://docs.docker.com/develop/develop-images/baseimages/

https://github.com/GoogleContainerTools/distroless