Docker install in Proxmox LXC commands are for Debian

this is a raw dump of commands used for this project intended for use with the video below

nano /etc/pve/lxc/100.conf

add line

features: nesting=1,keyctl=1

this can also be added in the options tab now

start ct and install docker

apt update && apt upgrade -y
apt-get install \
ca-certificates \
curl \
gnupg \
curl -fsSL | gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
“deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \
$(lsb_release -cs) stable” | tee /etc/apt/sources.list.d/docker.list > /dev/null

apt-get update
apt-get install docker-ce docker-ce-cli

test docker

docker run hello-world

Docker link

Leave a Reply