Skip to content

Commit

Permalink
Add Annotations to HostConfig. (fsouza#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 authored Feb 22, 2024
1 parent c673109 commit a5fa613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions container.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ type HostConfig struct {
PublishAllPorts bool `json:"PublishAllPorts,omitempty" yaml:"PublishAllPorts,omitempty" toml:"PublishAllPorts,omitempty"`
ReadonlyRootfs bool `json:"ReadonlyRootfs,omitempty" yaml:"ReadonlyRootfs,omitempty" toml:"ReadonlyRootfs,omitempty"`
AutoRemove bool `json:"AutoRemove,omitempty" yaml:"AutoRemove,omitempty" toml:"AutoRemove,omitempty"`
Annotations map[string]string `json:"Annotations,omitempty" yaml:"Annotations,omitempty" toml:"Annotations,omitempty"`
}

// NetworkingConfig represents the container's networking configuration for each of its interfaces
Expand Down

0 comments on commit a5fa613

Please sign in to comment.