if run docker engine , same container on set of different linux distributions, container run in same way? asking because in many cases applications depend on specific linux distribution resources, such fonts. if application running inside docker container depends on font used in ubuntu (and there may many other dependencies), how managed? need install font inside container, need run ubuntu inside container running application, or application use fonts underlying os running container?
any missing resources should installed in docker image (which can start ubuntu image).
should not rely on host dependencies.
the idea able reproduce environment each time container run image.
a container don't see host resources (beside mounted volumes), since has docker engine between container , host, in order configure cgroups , namespaces control resources container can see , access.
the "fedora" image referenced in jboss/base base image:
in docker terminology, read-only layer called image. image never changes.
since docker uses union file system, processes think whole file system mounted read-write. changes go top-most writeable layer, , underneath, original file in read-only image unchanged.
since images don't change, images not have state.
see "what relationship between docker host os , container base image os?":
the relationship between host os , container kernel.
as kernel still kernel of host, not have specific kernel module/patches provided distribution.