diff options
Diffstat (limited to 'cmd/kpod/create.go')
-rw-r--r-- | cmd/kpod/create.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/kpod/create.go b/cmd/kpod/create.go index c310ab831..57dce6fbf 100644 --- a/cmd/kpod/create.go +++ b/cmd/kpod/create.go @@ -343,6 +343,10 @@ func parseCreateOpts(c *cli.Context, runtime *libpod.Runtime) (*createConfig, er blkioWeight = uint16(u) } + if err = parseVolumes(c.StringSlice("volume")); err != nil { + return nil, err + } + // Because we cannot do a non-terminal attach, we need to set tty to true // if detach is not false // TODO Allow non-terminal attach |