Skip to content
Snippets Groups Projects
Commit 2c705af4 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Mas sencillo

parent ddcbf21f
Branches R20200306
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment