How does a container differ from a full virtual machine?
It is only an image file and never runs a process.
It shares the host kernel while providing an isolated process environment, filesystem view, and network configuration.
It always emulates a complete set of physical hardware and runs a separate kernel.
It is simply an unisolated host process with the host's complete filesystem view.