Download the public key for the Docker APT repository from https://download.docker.com/linux/debian/gpg
You need a gpg binary to add the key to APT's keyring; apt-get install gnupg
With that, you can add it, apt-key add docker.gpg
Then add the Docker repo to APT's sources, in /etc/apt/sources.list.d/10docker:
deb [arch=amd64] https://download.docker.com/linux/debian buster stable
- Install the pertinent packages, and some of the tools it recommends:
apt-get install docker-ce docker-ce-cli containerd.io libltdl7 pigz xz-utils apt-mark auto libltdl7 pigz xz-utils