diff --git a/api/swagger.yaml b/api/swagger.yaml index cf7043d336..15d588259b 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -3815,7 +3815,7 @@ definitions: - "process" InitBinary: description: | - Name and, optional, path of the the `docker-init` binary. + Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. @@ -4033,7 +4033,7 @@ definitions: - "https://registry-3.docker.io/" Secure: description: | - Indicates if the the registry is part of the list of insecure + Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept diff --git a/daemon/cluster/controllers/plugin/controller.go b/daemon/cluster/controllers/plugin/controller.go index c91925fbcc..6d7606aa84 100644 --- a/daemon/cluster/controllers/plugin/controller.go +++ b/daemon/cluster/controllers/plugin/controller.go @@ -20,7 +20,7 @@ import ( // Controller is the controller for the plugin backend. // Plugins are managed as a singleton object with a desired state (different from containers). -// With the the plugin controller instead of having a strict create->start->stop->remove +// With the plugin controller instead of having a strict create->start->stop->remove // task lifecycle like containers, we manage the desired state of the plugin and let // the plugin manager do what it already does and monitor the plugin. // We'll also end up with many tasks all pointing to the same plugin ID. diff --git a/errdefs/is.go b/errdefs/is.go index cc26e4b750..e0513331bb 100644 --- a/errdefs/is.go +++ b/errdefs/is.go @@ -47,7 +47,7 @@ func IsConflict(err error) bool { return ok } -// IsUnauthorized returns if the the passed in error is an ErrUnauthorized +// IsUnauthorized returns if the passed in error is an ErrUnauthorized func IsUnauthorized(err error) bool { _, ok := getImplementer(err).(ErrUnauthorized) return ok diff --git a/pkg/stdcopy/stdcopy.go b/pkg/stdcopy/stdcopy.go index 3b1e18736d..8f6e0a737a 100644 --- a/pkg/stdcopy/stdcopy.go +++ b/pkg/stdcopy/stdcopy.go @@ -21,7 +21,7 @@ const ( // Stderr represents standard error steam type. Stderr // Systemerr represents errors originating from the system that make it - // into the the multiplexed stream. + // into the multiplexed stream. Systemerr stdWriterPrefixLen = 8 diff --git a/plugin/v2/plugin.go b/plugin/v2/plugin.go index c00a9d0169..558e49d31b 100644 --- a/plugin/v2/plugin.go +++ b/plugin/v2/plugin.go @@ -257,7 +257,7 @@ func (p *Plugin) Release() { p.AddRefCount(plugingetter.Release) } -// SetSpecOptModifier sets the function to use to modify the the generated +// SetSpecOptModifier sets the function to use to modify the generated // runtime spec. func (p *Plugin) SetSpecOptModifier(f func(*specs.Spec)) { p.mu.Lock()