From 89ae15f3f435933a253a0d98215b26964b1654b0 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 30 Nov 2017 06:46:38 +0100 Subject: [PATCH] Install Docker CE instead of LXC --- 01-basic.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/01-basic.sh b/01-basic.sh index bccbf9b..6bffea3 100755 --- a/01-basic.sh +++ b/01-basic.sh @@ -78,6 +78,19 @@ cp ${SOURCE_DIR}/etc/postfix/main.cf /etc/postfix/main.cf systemctl restart postfix +##### +# Docker +##### + +# Add Docker repository +echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list +wget https://download.docker.com/linux/debian/gpg -O - | apt-key add - +apt-get -y update + +# Install packages +apt-get -y --no-install-recommends install docker-ce + + ##### # Nginx + uWSGI #####