- Català: Aquesta pàgina no està traduida encara al català.
- Castellano: Esta página no está traducida aún al castellano.
Requirements¶
You only need to have docker service and docker-compose installed. Example with Debian 10.
-
Install Docker: https://docs.docker.com/engine/installation/
- Note: docker 17.04 or newer needed for docker-compose.yml v3.2
apt-get remove docker docker-engine docker.io containerd runc
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
apt-get update -y
apt-get install -y docker-ce docker-ce-cli containerd.io
-
Install docker-compose: https://docs.docker.com/compose/install/
- 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
NOTE: Your hardware needs to have virtualization enabled. You can check that in your BIOS but also from CLI:
egrep ‘(vmx|svm)’ /proc/cpuinfo
Last update:
April 18, 2023