Horje
iptables remove docker rules Code Example
iptables remove docker rules
Note: Your iptables file location might be different. Run cat /etc/iptables.up.rules or cat /etc/network/iptables.rules

1. edit your /etc/iptables.up.rules file, back up file then remove everything with docker in it

2. flush iptables: iptables -P INPUT ACCEPT && iptables -P OUTPUT ACCEPT && iptables -P FORWARD ACCEPT && iptables -F
3. reload iptables rules: iptables-restore < /etc/iptables.up.rules
4. verify/check your rules: iptables -L -n (should no longer have any docker chains or rules)




Shell

Related
git readme show image Code Example git readme show image Code Example
shell script red color Code Example shell script red color Code Example
big sur ERROR:  Error installing ffi:         ERROR: Failed to build gem native extension. Code Example big sur ERROR: Error installing ffi: ERROR: Failed to build gem native extension. Code Example
git push all tags Code Example git push all tags Code Example
linux how to find files with broken link Code Example linux how to find files with broken link Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11