Add ctr subcommand to print default OCI spec
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
@@ -27,6 +27,7 @@ import (
|
||||
"github.com/containerd/containerd/cmd/ctr/commands/install"
|
||||
"github.com/containerd/containerd/cmd/ctr/commands/leases"
|
||||
namespacesCmd "github.com/containerd/containerd/cmd/ctr/commands/namespaces"
|
||||
ociCmd "github.com/containerd/containerd/cmd/ctr/commands/oci"
|
||||
"github.com/containerd/containerd/cmd/ctr/commands/plugins"
|
||||
"github.com/containerd/containerd/cmd/ctr/commands/pprof"
|
||||
"github.com/containerd/containerd/cmd/ctr/commands/run"
|
||||
@@ -112,6 +113,7 @@ containerd CLI
|
||||
snapshots.Command,
|
||||
tasks.Command,
|
||||
install.Command,
|
||||
ociCmd.Command,
|
||||
}, extraCmds...)
|
||||
app.Before = func(context *cli.Context) error {
|
||||
if context.GlobalBool("debug") {
|
||||
|
||||
Reference in New Issue
Block a user