mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-23 16:57:51 +00:00
Merge pull request #3435 from mheon/fix_tmpfs_options
Fix parsing of the --tmpfs option
This commit is contained in:
commit
da1ef2bdfd
3 changed files with 3 additions and 3 deletions
|
|
@ -444,7 +444,7 @@ func getCreateFlags(c *cliconfig.PodmanCommand) {
|
|||
"systemd", cliconfig.DefaultSystemD,
|
||||
"Run container in systemd mode if the command executable is systemd or init",
|
||||
)
|
||||
createFlags.StringSlice(
|
||||
createFlags.StringArray(
|
||||
"tmpfs", []string{},
|
||||
"Mount a temporary filesystem (`tmpfs`) into a container (default [])",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -690,7 +690,7 @@ func ParseCreateOpts(ctx context.Context, c *GenericCLIResults, runtime *libpod.
|
|||
StopTimeout: c.Uint("stop-timeout"),
|
||||
Sysctl: sysctl,
|
||||
Systemd: systemd,
|
||||
Tmpfs: c.StringSlice("tmpfs"),
|
||||
Tmpfs: c.StringArray("tmpfs"),
|
||||
Tty: tty,
|
||||
User: user,
|
||||
UsernsMode: usernsMode,
|
||||
|
|
|
|||
|
|
@ -448,7 +448,7 @@ func NewIntermediateLayer(c *cliconfig.PodmanCommand, remote bool) GenericCLIRes
|
|||
m["subuidname"] = newCRString(c, "subuidname")
|
||||
m["sysctl"] = newCRStringSlice(c, "sysctl")
|
||||
m["systemd"] = newCRBool(c, "systemd")
|
||||
m["tmpfs"] = newCRStringSlice(c, "tmpfs")
|
||||
m["tmpfs"] = newCRStringArray(c, "tmpfs")
|
||||
m["tty"] = newCRBool(c, "tty")
|
||||
m["uidmap"] = newCRStringSlice(c, "uidmap")
|
||||
m["ulimit"] = newCRStringSlice(c, "ulimit")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue