Skip to content

Docker install

Install Docker Engine

You can skip this part if you already have Docker installed.

:::spoiler Linux installation

Linux installation

warning

As of 2022, Docker Desktop now requires a paid subscription for commercial usage in large companies.

  • Docker Desktop is a convenience utility that packages the Docker Engine plus a Graphical User Interface (GUI).
  • Docker Engine is a free Command Line Tool (CLI) to create and manage Docker objects, such as images, containers, networks and volumes.

  • If you use Mac or Windows, you have to use Docker Desktop to gain compatibility with Docker Engine.

  • Install Docker Engine for Linux:
    curl -fsSL https://get.docker.com -o get-docker.sh
    sudo sh get-docker.sh
    
  • Add your user to the docker group:
    sudo usermod -aG docker $USER
    

warning

  • As a Linux user, you can use Docker Engine only, even if the official documentation pushed toward the adoption of Docker Desktop for Linux.

:::

:::spoiler MacOs installation

MacOs installation

warning Docker on MacOS is packaged into Docker Desktop, that requires now a paid subscription for commercial usage in large companies.

Install Docker Desktop on MacOs :::

:::spoiler Windows installation

Windows installation

warning Docker on Windows is packaged into Docker Desktop, that requires now a paid subscription for commercial usage in large companies.

warning Docker Engine creates isolation with the help of unix system primitives and kernel features (eg: CGroups, Chroot, ...). As a result, it cannot run natively on any non-unix based system. Docker works around this issue using virtualization with Hyper-V or WSL2, but some features will not work the same (eg: Bind mount volumes)

Install Docker Desktop on Windows :::