mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
Remove --storage-opt from podman run/create
podman command has storage options as a global option, these should be set there, rather then in the create and run commands. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #234 Approved by: baude
This commit is contained in:
committed by
Atomic Bot
parent
f77bd95426
commit
d4e4878ec3
@@ -114,7 +114,6 @@ type createConfig struct {
|
||||
SigProxy bool //sig-proxy
|
||||
StopSignal syscall.Signal // stop-signal
|
||||
StopTimeout uint // stop-timeout
|
||||
StorageOpts []string //storage-opt
|
||||
Sysctl map[string]string //sysctl
|
||||
Tmpfs []string // tmpfs
|
||||
Tty bool //tty
|
||||
@@ -626,7 +625,6 @@ func parseCreateOpts(c *cli.Context, runtime *libpod.Runtime, imageName string,
|
||||
SigProxy: c.Bool("sig-proxy"),
|
||||
StopSignal: stopSignal,
|
||||
StopTimeout: c.Uint("stop-timeout"),
|
||||
StorageOpts: c.StringSlice("storage-opt"),
|
||||
Sysctl: sysctl,
|
||||
Tmpfs: c.StringSlice("tmpfs"),
|
||||
Tty: tty,
|
||||
|
||||
Reference in New Issue
Block a user