New Proxmox / Docker Server Deployment guide
Deployment Summary
Here, we will document the general steps to deploy a Proxmox / Docker setup.
Here
nano /etc/apt/sources.list.d/pve-enterprise.list
nano /etc/apt/sources.list
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
apt update && apt upgrade
Possibly important, maybe not
This below command- I'm not sure it makes sense, so I wouldn't run it, but Allyn gave it to me so it may be necessary. I'm confused because it says apt-get install when we never use apt-get.
apt update && apt upgrade -y && reboot apt-get install -y apt-transport-https ca-certificates curl gnupg2 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"
zfs create -o mountpoint=/var/lib/docker rpool/docker
zfs create -o mountpoint=/config rpool/config
mkdir /etc/systemd/system/docker.service.d
nano /etc/systemd/system/docker.service.d/storage-driver.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd --storage-driver=zfs -H fd://
apt update && apt install docker-ce docker-ce-cli containerd.io -y
docker info | grep Storage
Installing Portainer
zfs create rpool/config/portainer
docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /config/portainer:/data portainer/portainer-ce:latest
Installing Portainer App Templates
https://raw.githubusercontent.com/ntv-one/portainer/main/template.json
https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json - this was mine idk
Additional PROXMOX Repository Locations to remove enterprise URLs:
/etc/apt/soruces.list.d/ceph.list
/etc/apt/sources/list.d/pve-enterprise.list