Skip to content
Permalink
Browse files

set overlay2 globally (#724)

  • Loading branch information...
enoch85 committed Nov 26, 2018
1 parent 6b505a0 commit 231cb6fac3c3bd21ba493a90f2eea8c1dd77de11
Showing with 8 additions and 18 deletions.
  1. +0 −9 apps/collabora.sh
  2. +0 −9 apps/onlyoffice.sh
  3. +8 −0 lib.sh
@@ -81,15 +81,6 @@ check_open_port 443 "$SUBDOMAIN"
# Install Docker
install_docker

# Set overlay2
cat << OVERLAY2 > /etc/docker/daemon.json
{
"storage-driver": "overlay2"
}
OVERLAY2
systemctl daemon-reload
systemctl restart docker

# Check if OnlyOffice or Collabora is previously installed
# If yes, then stop and prune the docker container
docker_prune_this 'collabora/code' 'onlyoffice/documentserver'
@@ -80,15 +80,6 @@ check_open_port 443 "$SUBDOMAIN"
# Install Docker
install_docker

# Set overlay2
cat << OVERLAY2 > /etc/docker/daemon.json
{
"storage-driver": "overlay2"
}
OVERLAY2
systemctl daemon-reload
systemctl restart docker

# Check if OnlyOffice or Collabora is previously installed
# If yes, then stop and prune the docker container
docker_prune_this 'collabora/code' 'onlyoffice/documentserver'
8 lib.sh
@@ -784,6 +784,14 @@ then
install_if_not curl
curl -fsSL get.docker.com | sh
fi
# Set overlay2
cat << OVERLAY2 > /etc/docker/daemon.json
{
"storage-driver": "overlay2"
}
OVERLAY2
systemctl daemon-reload
systemctl restart docker
}

# Remove all dockers excluding one

0 comments on commit 231cb6f

Please sign in to comment.
You can’t perform that action at this time.