Skip to content

Commit

Permalink
Merge pull request #18 from telnetdoogie/modify_json_for_iptables
Browse files Browse the repository at this point in the history
fix: add iptables to dockerd.json
  • Loading branch information
telnetdoogie authored Feb 9, 2025
2 parents 869282f + 29e45d0 commit f3a7a26
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 f3a7a26

Please sign in to comment.