Introduction


Figure 1

diagram showing boxes with hardware resources, applications, and the operating system
A conceptual representation of an ordinary computer system. The operating system oversees the physical hardware resources and is responsible for executing individual applications and allocating those resources to them.

Figure 2

diagram showing boxes with hardware resources, applications, the operating system, and how virtualization shares resources
In a virtual machine, physical hardware resources are divided between the host operating system and any virtual machines (guest operating systems). The virtual machine manager (VMM) takes care of managing the virtualized resources. Each virtual machine only sees the resources allocated to it.

Figure 3

diagram showing boxes with hardware resources, applications, containers, and the operating system
Containers are environments that encapsulate applications and their dependencies. Applications running inside a container are functionally isolated from the host. The container manager runs containers and determines what each container can “see” on the host. The level of isolation is not as high as VMs (represented by the dashed lines).

Virtual machines using VirtualBox


Basics of Containers with Docker


Figure 1

screenshot showing command line terminal icon location
The command line terminal can be opened by clicking the computer screen icon

Figure 2

terminal window showing downloading progress
The progress display when downloading the OpenRefine image

Figure 3

screenshot showing new tab option in terminal File menu
A new tab can be opened through the File menu

Figure 4

  • Select Text facet in the submenu. OpenRefine menus showing facet options

  • Figure 5

  • On the publisher column use the dropdown menu to select Edit cells > Common transforms > Collapse consecutive whitespace. OpenRefine menus showing cell transformation options

  • Creating Containers with Docker


    Figure 1

    terminal window showing contents of Dockerfile in nano editor
    The nano text editor for your first Dockerfile