summaryrefslogtreecommitdiffhomepage
path: root/runsc/main.go
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2018-10-12 12:58:42 -0700
committerShentubot <shentubot@google.com>2018-10-12 12:59:49 -0700
commita771775f3a4680b3a121deb6f583ed62f4da8bef (patch)
tree49886543a8f84c91102985e6e5b117d8e0598275 /runsc/main.go
parentf074f0c2c77c4aec24700a49ebcbca1a7f2285e0 (diff)
Added spec command to create OCI spec config.json
The spec command is analygous to the 'runc spec' command and allows for the convenient creation of a config.json file for users that don't have runc handy. Change-Id: Ifdfec37e023048ea461c32da1a9042a45b37d856 PiperOrigin-RevId: 216907826
Diffstat (limited to 'runsc/main.go')
-rw-r--r--runsc/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/main.go b/runsc/main.go
index 27aec1cd9..62b1f01b3 100644
--- a/runsc/main.go
+++ b/runsc/main.go
@@ -86,6 +86,7 @@ func main() {
subcommands.Register(new(cmd.Restore), "")
subcommands.Register(new(cmd.Resume), "")
subcommands.Register(new(cmd.Run), "")
+ subcommands.Register(new(cmd.Spec), "")
subcommands.Register(new(cmd.Start), "")
subcommands.Register(new(cmd.State), "")
subcommands.Register(new(cmd.Wait), "")