This script will install Docker, Portainer and Docker Compose for Ubuntu or Debian based distros using APT. Note: This is for x86-64 only, this won't work on ARM devices such as Raspberry Pi
sudo su
wget https://raw.githubusercontent.com/ArbenP/debianDockerInstallScript/master/install.sh -c -O install.sh && bash install.sh && rm install.sh
Visit https://{Your Device IP}:9443 then to set up Portainer.