Setup and Install Docker in a Promox 7 LXC Conainer


You should check out my website at!

Follow these steps to install docker in Proxmox 7 LXC.

Install Docker via Script (recommended)

This script is the official Docker installer maintained by Docker Inc.

curl -fsSL -o

Install Docker Manually

Update the apt package index and install packages to allow apt to use a repository over HTTPS:

apt-get update
apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \

Add Docker’s official GPG key:

curl -fsSL | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

Use the following command to set up the stable repository. To add the nightly or test repository, add the word nightly or test (or both) after the word stable in the commands below. Learn about nightly and test channels.

echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \
  $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null

Update the apt package index, and install the latest version of Docker Engine and containerd.

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

Verify docker is running on the system

systemctl status docker

Revision #11
Created 2 September 2021 18:29:38 by Jeremy
Updated 3 March 2023 18:52:42 by Jeremy