From 84508e91da2303967dc28d76433300c48f29cd41 Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Sat, 7 Oct 2017 23:30:33 +0100 Subject: [PATCH] Disable apparmor to use fuse Necessary for an Ubuntu 16.04, Docker 17.09.0-ce host See https://github.com/moby/moby/issues/9448#issuecomment-289950103 --- release-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-tool b/release-tool index 680cdca2c..24d64f902 100755 --- a/release-tool +++ b/release-tool @@ -615,7 +615,7 @@ build() { logInfo "Launching Docker container to compile sources..." docker run --name "$DOCKER_CONTAINER_NAME" --rm \ - --cap-add SYS_ADMIN --device /dev/fuse \ + --cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse \ -e "CC=${CC}" -e "CXX=${CXX}" \ -v "$(realpath "$SRC_DIR"):/keepassxc/src:ro" \ -v "$(realpath "$OUTPUT_DIR"):/keepassxc/out:rw" \