config_solaris.go 671 B

1234567891011121314151617181920212223242526272829
  1. package config
  2. import (
  3. "github.com/spf13/pflag"
  4. )
  5. // Config defines the configuration of a docker daemon.
  6. // These are the configuration settings that you pass
  7. // to the docker daemon when you launch it with say: `docker -d -e lxc`
  8. type Config struct {
  9. CommonConfig
  10. // These fields are common to all unix platforms.
  11. CommonUnixConfig
  12. }
  13. // BridgeConfig stores all the bridge driver specific
  14. // configuration.
  15. type BridgeConfig struct {
  16. commonBridgeConfig
  17. // Fields below here are platform specific.
  18. commonUnixBridgeConfig
  19. }
  20. // IsSwarmCompatible defines if swarm mode can be enabled in this config
  21. func (conf *Config) IsSwarmCompatible() error {
  22. return nil
  23. }