|
@@ -47,7 +47,7 @@ func (cli *DockerCli) CmdHelp(args ...string) error {
|
|
|
help := fmt.Sprintf("Usage: docker [OPTIONS] COMMAND [arg...]\n -H=[unix://%s]: tcp://host:port to bind/connect to or unix://path/to/socket to use\n\nA self-sufficient runtime for linux containers.\n\nCommands:\n", api.DEFAULTUNIXSOCKET)
|
|
|
for _, command := range [][]string{
|
|
|
{"attach", "Attach to a running container"},
|
|
|
- {"build", "Build a container from a Dockerfile"},
|
|
|
+ {"build", "Build an image from a Dockerfile"},
|
|
|
{"commit", "Create a new image from a container's changes"},
|
|
|
{"cp", "Copy files/folders from the containers filesystem to the host path"},
|
|
|
{"diff", "Inspect changes on a container's filesystem"},
|
|
@@ -105,7 +105,7 @@ func (cli *DockerCli) CmdInsert(args ...string) error {
|
|
|
}
|
|
|
|
|
|
func (cli *DockerCli) CmdBuild(args ...string) error {
|
|
|
- cmd := cli.Subcmd("build", "[OPTIONS] PATH | URL | -", "Build a new container image from the source code at PATH")
|
|
|
+ cmd := cli.Subcmd("build", "[OPTIONS] PATH | URL | -", "Build a new image from the source code at PATH")
|
|
|
tag := cmd.String([]string{"t", "-tag"}, "", "Repository name (and optionally a tag) to be applied to the resulting image in case of success")
|
|
|
suppressOutput := cmd.Bool([]string{"q", "-quiet"}, false, "Suppress the verbose output generated by the containers")
|
|
|
noCache := cmd.Bool([]string{"#no-cache", "-no-cache"}, false, "Do not use cache when building the image")
|