Source: Docker install
Proxmox: Need to add lxc.aa_profile = unconfined, security.privileged = true and lxc.cap.drop = into the container config in /etc/pve/lxc/ per forums and here.
sudo apt-get updateThe below will fail if running on ProxMox due to specific kernel
sudo apt-get install -y \
linux-image-extra-$(uname -r) \
linux-image-extra-virtualInstall the packages to allow repository
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-commonAdd the GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -Set up the repository
# For amd64
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"Add the packages
sudo apt-get update
sudo apt-get install -y docker-ceTest install success
sudo docker run hello-world
Main thing to note is the amendments you need to make to the lxc
<id>.confconfig file in the first paragraph above otherwise Docker won't run and you'll get apparmor errors etc.