summaryrefslogtreecommitdiff
path: root/cmd/podman/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r--cmd/podman/create.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go
index a0c1ec3f0..52d6e32f6 100644
--- a/cmd/podman/create.go
+++ b/cmd/podman/create.go
@@ -9,7 +9,6 @@ import (
"strings"
"syscall"
- "github.com/containers/storage"
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/pkg/signal"
"github.com/docker/go-connections/nat"
@@ -81,7 +80,10 @@ func createCmd(c *cli.Context) error {
if err != nil {
return err
}
- storageOpts := storage.DefaultStoreOptions
+ storageOpts, err := libpodruntime.GetDefaultStoreOptions()
+ if err != nil {
+ return err
+ }
storageOpts.UIDMap = mappings.UIDMap
storageOpts.GIDMap = mappings.GIDMap