Skip to main content

Install Docker

Docker and docker-compose

To install Portainer+Traefik stack you need Docker and docker-compose to be installed on your linux server.

To install it use one of the following commands:

wget -O - https://get.docker.com/ | sh

When Docker is installed you may want to be able to run it under your current user and not root. To make it possible you shall add your user to docker group. Do it with this command:

sudo usermod -aG docker "$(logname)" && newgrp docker

Well done! Docker is setup!