mirror of https://github.com/docker/docs.git
docker save: typo reference image, not container
Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
parent
26ac05c8bc
commit
93f8e277de
|
@ -340,7 +340,7 @@ func (srv *Server) ContainerExport(job *engine.Job) engine.Status {
|
||||||
// out is the writer where the images are written to.
|
// out is the writer where the images are written to.
|
||||||
func (srv *Server) ImageExport(job *engine.Job) engine.Status {
|
func (srv *Server) ImageExport(job *engine.Job) engine.Status {
|
||||||
if len(job.Args) != 1 {
|
if len(job.Args) != 1 {
|
||||||
return job.Errorf("Usage: %s CONTAINER\n", job.Name)
|
return job.Errorf("Usage: %s IMAGE\n", job.Name)
|
||||||
}
|
}
|
||||||
name := job.Args[0]
|
name := job.Args[0]
|
||||||
// get image json
|
// get image json
|
||||||
|
|
Loading…
Reference in New Issue