Skip to content

Commit

Permalink
feature(main): default registry dir is registry , not /var/lib/registry
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <[email protected]>
  • Loading branch information
cuisongliu committed Aug 20, 2023
1 parent 520d5e7 commit 8776d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/commands/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type registrySaveResults struct {
func (opts *registrySaveResults) RegisterFlags(fs *pflag.FlagSet) {
fs.SetInterspersed(false)
fs.StringVar(&opts.registryPullArch, "arch", runtime.GOARCH, "pull images arch")
fs.StringVar(&opts.registryPullRegistryDir, "registry-dir", "/var/lib/registry", "registry data dir path")
fs.StringVar(&opts.registryPullRegistryDir, "registry-dir", "registry", "registry data dir path")
fs.IntVar(&opts.registryPullMaxPullProcs, "max-pull-procs", 5, "maximum number of goroutines for pulling")
}

Expand Down

0 comments on commit 8776d31

Please sign in to comment.