Skip to content

Commit 8776d31

Browse files
committed
feature(main): default registry dir is registry , not /var/lib/registry
Signed-off-by: cuisongliu <[email protected]>
1 parent 520d5e7 commit 8776d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/registry/commands/flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type registrySaveResults struct {
3737
func (opts *registrySaveResults) RegisterFlags(fs *pflag.FlagSet) {
3838
fs.SetInterspersed(false)
3939
fs.StringVar(&opts.registryPullArch, "arch", runtime.GOARCH, "pull images arch")
40-
fs.StringVar(&opts.registryPullRegistryDir, "registry-dir", "/var/lib/registry", "registry data dir path")
40+
fs.StringVar(&opts.registryPullRegistryDir, "registry-dir", "registry", "registry data dir path")
4141
fs.IntVar(&opts.registryPullMaxPullProcs, "max-pull-procs", 5, "maximum number of goroutines for pulling")
4242
}
4343

0 commit comments

Comments
 (0)