summaryrefslogtreecommitdiff
path: root/daemon/daemon_unix.go
diff options
context:
space:
mode:
authorBenjamin Böhmke <benjamin@boehmke.net>2020-12-02 22:19:44 +0100
committerBenjamin Böhmke <benjamin@boehmke.net>2020-12-02 22:23:33 +0100
commitcd63cc846e7ec4f2d255023d04ead33a2a7fe986 (patch)
tree1a34062960713d9150bf561c52b6ae81d7bfd502 /daemon/daemon_unix.go
parent66459cc6236e86ce926ccab8be9998cff090657e (diff)
downloaddocker-cd63cc846e7ec4f2d255023d04ead33a2a7fe986.tar.gz
mark ip6tables as experimental feature
Signed-off-by: Benjamin Böhmke <benjamin@boehmke.net>
Diffstat (limited to 'daemon/daemon_unix.go')
-rw-r--r--daemon/daemon_unix.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/daemon_unix.go b/daemon/daemon_unix.go
index 0d96787c1d..d9de5593e7 100644
--- a/daemon/daemon_unix.go
+++ b/daemon/daemon_unix.go
@@ -746,6 +746,9 @@ func verifyDaemonSettings(conf *config.Config) error {
if !conf.BridgeConfig.EnableIPTables && !conf.BridgeConfig.InterContainerCommunication {
return fmt.Errorf("You specified --iptables=false with --icc=false. ICC=false uses iptables to function. Please set --icc or --iptables to true")
}
+ if conf.BridgeConfig.EnableIP6Tables && !conf.Experimental {
+ return fmt.Errorf("ip6tables rules are only available if experimental features are enabled")
+ }
if !conf.BridgeConfig.EnableIPTables && conf.BridgeConfig.EnableIPMasq {
conf.BridgeConfig.EnableIPMasq = false
}