From 2c705af4e5e4687772362081d19685dc6564fc17 Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@nic.ar> Date: Fri, 27 Sep 2019 16:23:57 -0300 Subject: [PATCH] Mas sencillo --- start.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/start.sh b/start.sh index 3e6b515..2f845c4 100755 --- a/start.sh +++ b/start.sh @@ -4,18 +4,7 @@ trap 'exit 1' ERR if ! which docker > /dev/null 2>&1 then - echo 'Can not find Docker. Make sure it is installed.' - if grep -q Debian /etc/issue - then - echo Consider - echo 'echo deb "[arch=amd64] https://download.docker.com/linux/debian stretch stable" > /etc/apt/sources.list.d/docker.list' - echo 'apt update' - echo 'apt install docker-ce-cli' - if grep -vq swapaccount=1 /etc/default/grub - then - echo 'Also, you should read https://docs.docker.com/install/linux/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities' - fi - fi + echo 'Can not find Docker. Make sure it is installed.' >&2 exit 1 fi -- GitLab