config_solaris.go 795 B

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