Skip to content

Commit b5e3861

Browse files
ariznafxfalcox
authored andcommitted
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
1 parent 99e2154 commit b5e3861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launcher

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ check_prereqs() {
168168
fi
169169

170170
# 2. running an approved storage driver?
171-
if ! $docker_path info 2> /dev/null | egrep -q 'Storage Driver: (aufs|zfs|overlay2)$'; then
171+
if ! $docker_path info 2> /dev/null | egrep -q 'Storage Driver: (btrfs|aufs|zfs|overlay2)$'; then
172172
echo "Your Docker installation is not using a supported storage driver. If we were to proceed you may have a broken install."
173173
echo "overlay2 is the recommended storage driver, although zfs and aufs may work as well."
174174
echo "Other storage drivers are known to be problematic."

0 commit comments

Comments
 (0)