From 5c30faf6f7aba58c9b8be580acb043d56b64db1b Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Wed, 1 May 2013 12:45:45 -0700 Subject: [PATCH] Set a layer's default runtime options with 'docker commit -run' instead of 'docker commit -config' --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 7d48376125..1e624e6825 100644 --- a/commands.go +++ b/commands.go @@ -726,7 +726,7 @@ func (srv *Server) CmdCommit(stdin io.ReadCloser, stdout io.Writer, args ...stri "Create a new image from a container's changes") flComment := cmd.String("m", "", "Commit message") flAuthor := cmd.String("author", "", "Author (eg. \"John Hannibal Smith \"") - flConfig := cmd.String("config", "", "Config automatically applied when the image is run. "+`(ex: -config '{"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}')`) + flConfig := cmd.String("run", "", "Config automatically applied when the image is run. "+`(ex: {"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}')`) if err := cmd.Parse(args); err != nil { return nil }