From: Rafael dos Santos Silva <xfalcox@gmail.com>
Date: Wed, 19 Jun 2019 18:38:47 +0000 (-0300)
Subject: FIX: Make storage detection compatible with docker 19.x
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=98c5fec43de299bdfc55970cea3495fa4c27d6ac;p=discourse_docker.git

FIX: Make storage detection compatible with docker 19.x
---

diff --git a/launcher b/launcher
index 6a71521..97628a1 100755
--- a/launcher
+++ b/launcher
@@ -153,7 +153,7 @@ check_prereqs() {
   fi
 
   # 2. running an approved storage driver?
-  if ! $docker_path info 2> /dev/null | egrep -q '^Storage Driver: (aufs|zfs|overlay2)$'; then
+  if ! $docker_path info 2> /dev/null | egrep -q 'Storage Driver: (aufs|zfs|overlay2)$'; then
     echo "Your Docker installation is not using a supported storage driver.  If we were to proceed you may have a broken install."
     echo "aufs is the recommended storage driver, although zfs and overlay2 may work as well."
     echo "Other storage drivers are known to be problematic."