Skip to content

Commit a5fa613

Browse files
authored
Add Annotations to HostConfig. (#1038)
1 parent c673109 commit a5fa613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

container.go

+1
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ type HostConfig struct {
555555
PublishAllPorts bool `json:"PublishAllPorts,omitempty" yaml:"PublishAllPorts,omitempty" toml:"PublishAllPorts,omitempty"`
556556
ReadonlyRootfs bool `json:"ReadonlyRootfs,omitempty" yaml:"ReadonlyRootfs,omitempty" toml:"ReadonlyRootfs,omitempty"`
557557
AutoRemove bool `json:"AutoRemove,omitempty" yaml:"AutoRemove,omitempty" toml:"AutoRemove,omitempty"`
558+
Annotations map[string]string `json:"Annotations,omitempty" yaml:"Annotations,omitempty" toml:"Annotations,omitempty"`
558559
}
559560

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

0 commit comments

Comments
 (0)