From 7710cc40ac01708c8a434ff787c7fef10d057682 Mon Sep 17 00:00:00 2001 From: coesensbert Date: Thu, 3 Feb 2022 16:41:58 +0100 Subject: [PATCH] docker --- install-docker.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 install-docker.sh diff --git a/install-docker.sh b/install-docker.sh new file mode 100644 index 0000000..3947589 --- /dev/null +++ b/install-docker.sh @@ -0,0 +1,8 @@ +#/bin/bash + +#Install Docker +apt install ca-certificates curl gnupg lsb-release -y +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg +echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null +apt update +apt install docker-ce docker-ce-cli containerd.io -y