mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-27 10:47:54 +00:00
run/create were processing options after the image name
flags.SetInterspersed(false) Needs to be added to allow options to be used within the containers. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
522dcd604e
commit
4829136dab
2 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ func init() {
|
|||
})
|
||||
//common.GetCreateFlags(createCommand)
|
||||
flags := createCommand.Flags()
|
||||
flags.SetInterspersed(false)
|
||||
flags.AddFlagSet(common.GetCreateFlags(&cliVals))
|
||||
flags.AddFlagSet(common.GetNetFlags())
|
||||
flags.SetNormalizeFunc(common.AliasFlags)
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ func init() {
|
|||
Command: runCommand,
|
||||
})
|
||||
flags := runCommand.Flags()
|
||||
flags.SetInterspersed(false)
|
||||
flags.AddFlagSet(common.GetCreateFlags(&cliVals))
|
||||
flags.AddFlagSet(common.GetNetFlags())
|
||||
flags.SetNormalizeFunc(common.AliasFlags)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue