Part 1. Getting started with Docker - NOC-MSM/Belize_workshop GitHub Wiki

Part-1. Getting started with Docker

Before starting the NEMO modelling process, we will have to install Docker so we can work in a container.

If you have never worked with Docker before, fear not! On this section we will explain you what is Docker and why we are working with it. Without further ado, let's get started!


About Docker...

What is Docker?

As opensource defines it, Docker is a tool with the objective of make it easier to create, deploy and run applications by using containers. In other words, Docker is similar to a virtual machine, but more efficient thanks to the use of containers.

What is a Docker container?

According to Docker official website, a container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. For an easier definition, I will quote the opensource definition again: containers allow developers to package up an application with all the parts it need (libraries and other dependencies), and deploy it as a single package.


Installing Docker...

For this workshop, we will be using either: Docker Desktop or Docker Toolbox. The difference between these versions is that Docker Desktop is more recent and has more specific requirements (Docker documentation suggests to install the Desktop version instead of the Toolbox when possible, but for this workshop the version you get won't matter).

You only have to install one of the following options, according to your system specifications.

A) Requirements for Docker Desktop:

Windows:

  • Windows 10 64-bit: Pro, Enterprise or Education (build 16299 or later).
  • or Windows 10 64-bit: Home, version 2004 or higher (this version was first released in May, 2020. By July, 2020, this version is still not available for all devices).

Mac:

  • 2010 or newer, with Intel's hardware Memory Management Unit (MMU).
  • OS X 10.10.3 Yosemite or newer (or macOS).
  • At least 4GB of RAM.

Linux:

  • 64-bit installation.
  • Kernel 3.10 or newer.
  • For specifications about Debian and Ubuntu, please refer to this website.

If your system meets the requirements, go to this website and select "Install Docker on Windows/macOS/Linux" according to your OS. Follow the installation instructions and continue to Part 2.

B) Requirements for Docker Toolbox:

Windows:

Mac:

Linux:

With Docker Toolbox (or Desktop) installed, you can proceed to Part 2.


Congratulations! You have successfully installed Docker in your device. Now you can continue to the second part of this tutorial!