diff --git a/install.md b/install.md new file mode 100644 index 00000000..beabfb10 --- /dev/null +++ b/install.md @@ -0,0 +1,22 @@ +== Install System from scratch == +=== Install Docker === +apt-get update + +apt-get install \ + apt-transport-https \ + ca-certificates \ + curl \ + gnupg-agent \ + software-properties-common + + curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - + + add-apt-repository \ + "deb [arch=amd64] https://download.docker.com/linux/debian \ + $(lsb_release -cs) \ + stable" + +apt-get update +apt-get install docker-ce docker-ce-cli containerd.io + +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