Tweaks to environment_docker.go, change container hostnames to use the server's uuid, add Domainname option

This commit is contained in:
Matthew Penner
2020-07-04 15:14:22 -06:00
parent 860e300c22
commit d339996b4e
2 changed files with 37 additions and 46 deletions

View File

@@ -39,6 +39,9 @@ type DockerConfiguration struct {
// for containers run through the daemon.
Network DockerNetworkConfiguration `json:"network" yaml:"network"`
// Domainname is the Docker domainname for all containers.
Domainname string `default:"" json:"domainname" yaml:"domainname"`
// If true, container images will be updated when a server starts if there
// is an update available. If false the daemon will not attempt updates and will
// defer to the host system to manage image updates.