Disable network file deletion, not compatible with docker 18.02

This commit is contained in:
bergware
2018-02-26 12:16:42 +01:00
parent ad5149e8f5
commit 803dea92a5
@@ -3,5 +3,6 @@
if [[ -f /boot/config/docker.cfg ]]; then
. /boot/config/docker.cfg
[[ "$DOCKER_USER_NETWORKS" != "preserve" ]] && rm -f /var/lib/docker/network/files/local-kv.db
# file deletion is disabled, not compatible with docker 18.02
# [[ "$DOCKER_USER_NETWORKS" != "preserve" ]] && rm -f /var/lib/docker/network/files/local-kv.db
fi