@@ -377,16 +377,17 @@ type UpdateConfig struct {
377377// Portable information *should* appear in Config.
378378type HostConfig struct {
379379 // Applicable to all platforms
380- Binds []string // List of volume bindings for this container
381- ContainerIDFile string // File (path) where the containerId is written
382- LogConfig LogConfig // Configuration of the logs for this container
383- NetworkMode NetworkMode // Network mode to use for the container
384- PortBindings nat.PortMap // Port mapping between the exposed port (container) and the host
385- RestartPolicy RestartPolicy // Restart policy to be used for the container
386- AutoRemove bool // Automatically remove container when it exits
387- VolumeDriver string // Name of the volume driver used to mount volumes
388- VolumesFrom []string // List of volumes to take from other container
389- ConsoleSize [2 ]uint // Initial console size (height,width)
380+ Binds []string // List of volume bindings for this container
381+ ContainerIDFile string // File (path) where the containerId is written
382+ LogConfig LogConfig // Configuration of the logs for this container
383+ NetworkMode NetworkMode // Network mode to use for the container
384+ PortBindings nat.PortMap // Port mapping between the exposed port (container) and the host
385+ RestartPolicy RestartPolicy // Restart policy to be used for the container
386+ AutoRemove bool // Automatically remove container when it exits
387+ VolumeDriver string // Name of the volume driver used to mount volumes
388+ VolumesFrom []string // List of volumes to take from other container
389+ ConsoleSize [2 ]uint // Initial console size (height,width)
390+ Annotations map [string ]string `json:",omitempty"` // Arbitrary non-identifying metadata attached to container and provided to the runtime
390391
391392 // Applicable to UNIX platforms
392393 CapAdd strslice.StrSlice // List of kernel capabilities to add to the container
0 commit comments