Skip to content

Instantly share code, notes, and snippets.

View markdumay's full-sized avatar

Mark Dumay markdumay

  • Squadra
  • The Hague, The Netherlands
  • 03:02 (UTC +02:00)
View GitHub Profile
@pedrolamas
pedrolamas / docker-iptables-fix.sh
Created August 18, 2020 19:32
Script to fix Docker iptables on Synology NAS
#!/bin/bash
currentAttempt=0
totalAttempts=10
delay=15
while [ $currentAttempt -lt $totalAttempts ]
do
currentAttempt=$(( $currentAttempt + 1 ))
echo "Attempt $currentAttempt of $totalAttempts..."