diff --git a/cmd/docker/docker.go b/cmd/docker/docker.go index 1afbea3787..450d20e72e 100644 --- a/cmd/docker/docker.go +++ b/cmd/docker/docker.go @@ -228,6 +228,9 @@ func runDocker(dockerCli *command.DockerCli) error { } } + // We've parsed global args already, so reset args to those + // which remain. + cmd.SetArgs(args) return cmd.Execute() }