New Proxmox / Docker Server Deployment guide
Here, we will document the general steps to deploy a Proxmox / Docker setup.
Here are the random commands Allyn had me run
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 -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
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
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