From 05513284e7f7559a9064acf25b302a28f5f040cf Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 2 Mar 2018 14:47:24 +0900 Subject: [PATCH] ctr: add UNIX-specific flags to `ctr c create` Signed-off-by: Akihiro Suda --- cmd/ctr/commands/run/run_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ctr/commands/run/run_unix.go b/cmd/ctr/commands/run/run_unix.go index 51ac4f7bb..97a6277ef 100644 --- a/cmd/ctr/commands/run/run_unix.go +++ b/cmd/ctr/commands/run/run_unix.go @@ -31,7 +31,7 @@ import ( ) func init() { - Command.Flags = append(Command.Flags, cli.BoolFlag{ + ContainerFlags = append(ContainerFlags, cli.BoolFlag{ Name: "rootfs", Usage: "use custom rootfs that is not managed by containerd snapshotter", }, cli.BoolFlag{