Skip to content

Commit

Permalink
fix: add iptables to dockerd.json
Browse files Browse the repository at this point in the history
  • Loading branch information
telnetdoogie committed Feb 9, 2025
1 parent 869282f commit 29e45d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion syno_docker_switch_logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jq '
.["log-opts"] = {
"max-file": "5",
"max-size": "20m"
}
} |
.["iptables"] = true
' "$DOCKERD_FILE" > "$DOCKERD_FILE.tmp" && mv "$DOCKERD_FILE.tmp" "$DOCKERD_FILE"

# Output the new JSON file
Expand Down

0 comments on commit 29e45d0

Please sign in to comment.