Browse Source

docker for debian

master
Adrien MAES 4 months ago
commit
9121d6b7ec
Signed by: musicman GPG Key ID: 4B512432EA374920
  1. 17
      debian/docker.sh

17
debian/docker.sh

@ -0,0 +1,17 @@
#! /bin/sh
apt-get remove docker docker-engine docker.io containerd runc
apt-get update
apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Loading…
Cancel
Save