Skip to content


You only need to have docker service and docker compose installed. Example with Ubuntu 22 (docker compose now it is integrated in docker).

  • Install Docker:

    • Note: docker 17.04 or newer needed for docker-compose.yml v3.2
sudo apt-get remove docker docker-engine containerd runc curl
sudo apt-get update
sudo apt-get install -y \
    ca-certificates \
    curl \
    gnupg \
sudo mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin
sudo systemctl status docker

NOTE: Your hardware needs to have virtualization enabled. You can check that in your BIOS but also from CLI:

egrep ‘(vmx|svm)’ /proc/cpuinfo
​ If you see nothing in the output your CPU has no virtualization capabilites or they are disabled in BIOS.

In old distros docker version could be older and you'll need to install also docker-compose:

  • Install docker-compose:

    • Note: docker-compose 1.12 or newer needed for docker-compose.yml v3.5. You can install last version using pip3:
apt install python3-pip -y
pip3 install docker-compose

Last update: July 7, 2023