mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 05:35:13 +08:00
🚀 Sync 2026-03-20 14:18:42
This commit is contained in:
1 parent
3f5e547363
commit
72b1d9508b
81 files changed
+2797
-975
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q set dockerd.globals.iptables=0
|
||||
|
||||
uci -q delete firewall.docker.network
|
||||
|
||||
DOCKER0_DEVICE=`uci show network | grep -E "^network\\.@device\\[\\d+\\]\\.name='docker0'" | head -n1 | head -c -16`
|
||||
|
||||
if [ -n "$DOCKER0_DEVICE" ]; then
|
||||
uci delete "$DOCKER0_DEVICE"
|
||||
fi
|
||||
uci -q delete network.docker
|
||||
uci commit
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
/etc/init.d/dockerd uciadd
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user