From b5e3861e68cf9ca71e049c4c1ccf92201e3eef5a Mon Sep 17 00:00:00 2001 From: "Fernando (Ariznaf)" <57560645+ariznaf@users.noreply.github.com> Date: Thu, 3 Mar 2022 14:11:35 +0100 Subject: [PATCH] Add support for btrfs storage driver in docker After several months of using btrfs in our forum in production with no issue, I can say that btrfs seems quite stable and I am proposing to add it to the supported storage drivers under docker. Using btrfs makes it a breeze to take snapshots and revert to a previous state of discourse, and taking backups with minimal forum interrupt time. Here is a discussion about it in discourse forum: https://meta.discourse.org/t/unable-to-rebuild-app-not-supported-docker-storage-driver-btrfs/209200/14 --- launcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher b/launcher index 83c9013..1154ba1 100755 --- a/launcher +++ b/launcher @@ -168,7 +168,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: (btrfs|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 "overlay2 is the recommended storage driver, although zfs and aufs may work as well." echo "Other storage drivers are known to be problematic." -- 2.25.1