Chuck's Cool Reviews and Info

Projects, news and stuff going on. Pictures link is to the right.

Install Docker and Portainer

- Posted in Blog Entries by

This is a quick and dirty install onto an Ubuntu Server 20.04 install.

Install Docker:

sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" sudo apt install docker-ce sudo systemctl status docker sudo usermod -aG docker ${USER} su - ${USER} groups

Install Portainer:

cd ~/

docker volume create portainer_data

docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

http://server_name:9000

Add Application Templates from Reddit Github:

Go to Settings | App Template and enter:

https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/portainer-v2.json

Portainer Default App Templates:

https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json