curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
Reboot here or run the next commands with a sudo
alias python=python3
sudo apt-get install libffi-dev libssl-dev
sudo apt-get install -y python python3-pip
sudo apt-get remove python-configparser
sudo pip install docker-compose
mkdir -p /home/pi/hassio/{scripts,data,portainer}
docker-compose up -d
Hassio will be available on port 8123, Portainer on 9000