Create Your Container
Create an unprivileged Debian 13 LXC with nesting and SSH access.
This task creates the small Debian server that will hold every Docker app in the guide.
Download Debian
Section titled “Download Debian”- In Proxmox, select local (pve), then CT Templates.
- Choose Templates, select the latest
debian-13-standardtemplate, and choose Download.
Create the container
Section titled “Create the container”In the VS Code terminal on your everyday computer, print your public key:
ssh-keygen -y -f ~/.ssh/id_ed25519Copy the single output line. In Proxmox, choose Create CT and complete the wizard:
- General: use hostname
docker, set a root password, paste the line into SSH public key, and leave Unprivileged container checked. - Template: select the Debian 13 template.
- Disks: set Disk size to
16GiB. - CPU: set Cores to
2. - Memory: set Memory to
2048MiB and Swap to512MiB. - Network: keep bridge
vmbr0, choose DHCP for IPv4, and leave IPv6 on DHCP. - DNS: keep Use host settings.
- Confirm the settings and create the container.
Select the new container, open Options → Features, choose Edit, enable Nesting, and save. Docker will not start without nesting.
Start the container. Its Summary page shows the DHCP address. Reserve that address for this container in your router so it stays stable.
Connect to Debian
Section titled “Connect to Debian”In VS Code’s Remote Explorer, add ssh root@CONTAINER-IP, choose the suggested SSH configuration file, and connect. Accept the fingerprint, then run:
cat /etc/debian_versionYou now have a Debian 13 LXC with key-based root SSH.