Skip to content

Commit

Permalink
Move Dns and VolumesFrom to host config
Browse files Browse the repository at this point in the history
Also add DNS search
  • Loading branch information
crosbymichael committed Apr 20, 2014
1 parent ce1770c commit 15facf1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions types.go
Expand Up @@ -15,9 +15,7 @@ type ContainerConfig struct {
StdinOnce bool
Env []string
Cmd []string
Dns []string
Image string
VolumesFrom string
WorkingDir string
Entrypoint []string
NetworkDisabled bool
Expand All @@ -31,6 +29,9 @@ type HostConfig struct {
PortBindings map[string][]PortBinding
Links []string
PublishAllPorts bool
Dns []string
DnsSearch []string
VolumesFrom []string
}

type PortBinding struct {
Expand Down

0 comments on commit 15facf1

Please sign in to comment.