Docker.io auf Debian installieren

Grundlagen schaffen:
apt-get install apt-transport-https ca-certificates curl software-properties-common
Installation
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get install docker-ce docker-ce-cli
Konfiguration
cat > /etc/docker/daemon.json <<EOF
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
},
"live-restore": true
}
EOF
Service neu starten
systemctl restart docker