From 6a2fab959d3556ec0404c3c9ffb07a0226589113 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 21 Dec 2019 18:32:02 +0100 Subject: [PATCH] re-order Docker section --- post-debootstrap-installer.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index af485b5..f3d7302 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -64,6 +64,13 @@ echo 'nameserver 1.1.1.1 nameserver 8.8.8.8' > /etc/resolv.conf +### Docker +# has to be executed before the users section, +# because otherwise the docker group doesn't exist + +apt-get -y install docker-ce + + ### users apt-get -y install sudo @@ -82,11 +89,6 @@ for key in /hardware-setup/authorized_keys/*; do done -### Docker - -apt-get -y install docker-ce - - ### administration tools apt-get -y install \