We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 934841f + bb4bef2 commit cf8bf9eCopy full SHA for cf8bf9e
cmd/buildx/main.go
@@ -4,6 +4,7 @@ import (
4
"context"
5
"fmt"
6
"os"
7
+ "path/filepath"
8
9
"github.com/docker/buildx/commands"
10
controllererrors "github.com/docker/buildx/controller/errdefs"
@@ -41,7 +42,8 @@ func runStandalone(cmd *command.DockerCli) error {
41
42
}
43
defer flushMetrics(cmd)
44
- rootCmd := commands.NewRootCmd(os.Args[0], false, cmd)
45
+ executable := os.Args[0]
46
+ rootCmd := commands.NewRootCmd(filepath.Base(executable), false, cmd)
47
return rootCmd.Execute()
48
49
0 commit comments