-
Here I use "run" in an informal way which represents two cases. First, when we run commands in Second, when we shell into the container, has the base OS completed booting before showing the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is generally no concept of 'booting' a Singularity container. A container shares the kernel of the host system, so there is no low level boot up of drivers etc. A container does not usually have an init system (generally systemd), nor does it run the various services an OS will when booted on a physical or virtual machine. When you run commands in When you |
Beta Was this translation helpful? Give feedback.
There is generally no concept of 'booting' a Singularity container. A container shares the kernel of the host system, so there is no low level boot up of drivers etc.
A container does not usually have an init system (generally systemd), nor does it run the various services an OS will when booted on a physical or virtual machine.
When you run commands in
%post
, the only environment is whatever has been setup by earlier commands, or the base image in yourFrom:
line.When you
shell
into a container, only the shell process is started inside the container. Generally nothing else is 'booted'.