Merge pull request #7098 from ktock/ctr-create-reordering

ctr: Fix `ctr c create` fails to parse arguments
This commit is contained in:
Phil Estes 2022-06-27 15:33:50 -04:00 committed by GitHub
commit 8fe779faa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ var createCommand = cli.Command{
Name: "create",
Usage: "create container",
ArgsUsage: "[flags] Image|RootFS CONTAINER [COMMAND] [ARG...]",
SkipArgReorder: true,
Flags: append(append(commands.SnapshotterFlags, []cli.Flag{commands.SnapshotterLabels}...), commands.ContainerFlags...),
Action: func(context *cli.Context) error {
var (