mirror of
https://github.com/unraid/webgui.git
synced 2026-04-25 20:01:38 -05:00
docker: rebuild networks upon restart
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Invoked after docker image loopback mounted but before docker is started
|
||||
|
||||
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
|
||||
fi
|
||||
Reference in New Issue
Block a user