ctr: add UNIX-specific flags to ctr c create

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2018-03-02 14:47:24 +09:00
parent e6a3dd3550
commit 05513284e7

View File

@ -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{