# images
docker image inspect --format='{{.Os}}' nginx
# container
docker container inspect --format='{{.Platform}}' nginx
linux
