Change the iptables
update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
Install dependecies
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
Add docker gpg key
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
Add repo
echo "deb [arch=arm64] https://download.docker.com/linux/debian buster stable" >> /etc/apt/sources.list.d/docker.list
Update repositories
apt-get update
Install
apt-get install --no-install-recommends docker-ce docker-ce-cli containerd.io