how is
hardware support for virtualistaion acheived
To achieve this there must be hardware support for it. More specifically the processor must support it.
the processor does this by introducing a new mode that can be used along with user mode and kernel mode. Called hypervisor mode
this view from the containers perspective
it will only be able to see the parts of the system it has access to
running any system commands will only reveal the parts of the system it has been allocated to use
describe the
system view
that a container will have
describe the
file system view
of a container
this view of a container can be summarised as:
it will share the file system of the base OS however any changes made are not made to the base OS instead a layer known as the overlay file system will keep track of any changes and present it to the container with a merged view of the OS file system and the overlay file system
give 1 advantage that an
overlay file system brings for containers
an advantage of this is:
describe the term
merged view file system
this is the view of the file system that the container will see
it is a combination of:
describe the term
copy on write
a method for modifying files while maintaining the original file.
This is software that can emulate hardware.
It is able to perform very much like an OS in that it will share resources between the different virtual machines that run on top of it and ensure that each gets its fair share of time to process
describe a
hypervisor
This is also known as a hosted hypervisor and is software that will run as a device driver on the host OS.
describe a
type 2 hypervisor
this is software that can imitate hardware.
One use of this is emulating old hardware so that old applications and games can be bought into the modern age and ran on new hardware.
describe
Hardware/machine emulation
describe
Application virtualisation
where an application offers functionality but is able to virtualise that functionality between different instances.
One example is Apache web server that can host many websites within its application but resources between the websites must be kept isolated
software that can emulate hardware and present it to a virtual machine
describe the term
hypervisor
describe the term
overlay file system
a file system used by a single container that allows it to:
these include:
name 4
types of virtualisation which are not in relation to the OS
a file system used by a single container that allows it to:
describe the term
overlay file system
an action carried out by the hypervisor that allows it to switch between the different virtual machines by saving and restoring there state.
This is a similar behaviour of an OS context switch
describe a
vm switch
each of these actions are summarised below

describe how a containers merged view of a file system would look when there is
where an application offers functionality but is able to virtualise that functionality between different instances.
One example is Apache web server that can host many websites within its application but resources between the websites must be kept isolated
describe
Application virtualisation
how can an
overlay file system for a container be implemented
This can be achieved by the container creating its own mounted file system and writing changes to the mounted file system using the method known as copy-on-write
To achieve this there must be hardware support for it. More specifically the processor must support it.
the processor does this by introducing a new mode that can be used along with user mode and kernel mode. Called hypervisor mode
how is
hardware support for virtualistaion acheived
describe
containerisation
This is a virtualisation solution that will create what are known as containers.
Each container can run one or more applications and shares the underlying kernel and file system.
However each container is unaware that it is a container and believes it has sole control of the system
upon a
VM switch
what information would be saved/restored
when this occurs the following information would be saved/restored
this requires a linux kernel as a base OS this problem is solved by:
what does docker require in order to run and how is this problem solved for:
describe a
hypervisor
This is software that can emulate hardware.
It is able to perform very much like an OS in that it will share resources between the different virtual machines that run on top of it and ensure that each gets its fair share of time to process
properties of this include:
give 4
properties that virtualisation has