Browse Source

Update docker_manual.sh

added archlinux support
merge-requests/31/head
Sebastian Werner 6 years ago
parent
commit
e5a5c2bf90
  1. 7
      scripts/subinstallers/docker_manual.sh

7
scripts/subinstallers/docker_manual.sh

@ -38,8 +38,12 @@ elif [ "$DISTRO" == "raspbian" ]; then
fi fi
# install Docker # install Docker
if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then
echo "Installing docker" echo "Installing docker"
sudo apt-get update sudo apt-get update
fi
if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ]; then if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ]; then
sudo apt-get install -y docker-ce docker-ce-cli containerd.io sudo apt-get install -y docker-ce docker-ce-cli containerd.io
@ -52,6 +56,7 @@ fi
# Docker group # Docker group
sudo usermod -aG docker $USER sudo usermod -aG docker $USER
if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then
# Docker Compose # Docker Compose
echo "Installing Docker Compose" echo "Installing Docker Compose"
#if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ]; then #if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ]; then
@ -65,4 +70,4 @@ sudo apt install -y python-backports.ssl-match-hostname
# This might take a while # This might take a while
sudo pip3 install docker-compose sudo pip3 install docker-compose
#fi #fi
fi

Loading…
Cancel
Save