Files
moby/libnetwork/controller_others.go
Rob Murray a0a86d0982 Add Info.FirewallBackend
Report FirewallBackend in "docker info".

It's currently "iptables" or "iptables+firewalld" on Linux, and
omitted on Windows.

Signed-off-by: Rob Murray <rob.murray@docker.com>
2025-04-07 16:56:49 +01:00

20 lines
448 B
Go

//go:build !linux
package libnetwork
import "github.com/docker/docker/api/types/system"
// FirewallBackend returns the name of the firewall backend for "docker info".
func (c *Controller) FirewallBackend() *system.FirewallInfo {
return nil
}
// enabledIptablesVersions is a no-op on non-Linux systems.
func (c *Controller) enabledIptablesVersions() []any {
return nil
}
func (c *Controller) setupOSLSandbox(_ *Sandbox) error {
return nil
}