Preparing your System

In the following, we give examples for Debian-based operating systems using the apt package manager. If you are using an OS with a different package manager (for example, Fedora Linux with the yum package manager), please adapt the commands shown to your specific system.

First, please ensure that your system is up-to-date and has the latest OS kernel installed.

sudo apt-get update
sudo apt-get upgrade

Next, install the Docker runtime, as well has the docker compose plugin. Create a file with the following contents:


# This file is

# Set terminal output
set -xe

# Install Docker
curl -fsSL -o
sudo sh

  # Install docker compose plugin, adjust version as necessary
mkdir -p ~/.docker/cli-plugins/;
curl -SL -o ~/.docker/cli-plugins/docker-compose;
chmod +x ~/.docker/cli-plugins/docker-compose;

Then set this file as executable and run it to add the docker and docker compose commands to your system:

chmod a+x

The following commands should run successfully and print the version numbers for docker and docker-compose:

docker -v
docker compose version

Finally, install the native WireGuard® network protocol and kernel extensions for your OS:

sudo apt-get update
sudo apt-get install -y wireguard wireguard-dkms wireguard-tools

The following command should run successfully and print the version number for wireguard-tools:

wg -v

Now it is time to reboot the host:

sudo reboot now