HiveBrain v1.2.0
Get Started
← Back to all entries
patterndockerMinor

Does every docker container has a a OS?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
containerdockereveryhasdoes

Problem

Does every container have an OS?

For example, the base docker python image
has a default OS in it? I couldn't find any info on Google.

I am in doubt because there are some images made with Python that use the Alpine OS.

Solution

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

Context

StackExchange DevOps Q#9689, answer score: 2

Revisions (0)

No revisions yet.