bundles/docker-engine: do not put containers on the host network
This commit is contained in:
parent
aae1e8397e
commit
463443e1e3
2 changed files with 15 additions and 3 deletions
|
@ -18,6 +18,19 @@ defaults = {
|
|||
'/var/opt/docker-engine',
|
||||
},
|
||||
},
|
||||
'nftables': {
|
||||
'forward': {
|
||||
'docker-engine': [
|
||||
'ct state { related, established } accept',
|
||||
'iifname docker0 accept',
|
||||
],
|
||||
},
|
||||
'postrouting': {
|
||||
'docker-engine': [
|
||||
'iifname docker0 masquerade',
|
||||
],
|
||||
},
|
||||
},
|
||||
'hosts': {
|
||||
'entries': {
|
||||
'172.17.0.1': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue