mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add 'to STDOUT' to the help, and add a simple eg that mentions it too
This commit is contained in:
parent
ba6dd1d8d6
commit
9696ec509a
2 changed files with 8 additions and 2 deletions
|
@ -1451,7 +1451,7 @@ func (cli *DockerCli) CmdEvents(args ...string) error {
|
|||
}
|
||||
|
||||
func (cli *DockerCli) CmdExport(args ...string) error {
|
||||
cmd := cli.Subcmd("export", "CONTAINER", "Export the contents of a filesystem as a tar archive")
|
||||
cmd := cli.Subcmd("export", "CONTAINER", "Export the contents of a filesystem as a tar archive to STDOUT")
|
||||
if err := cmd.Parse(args); err != nil {
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -369,7 +369,13 @@ Show events in the past from a specified time
|
|||
|
||||
Usage: docker export CONTAINER
|
||||
|
||||
Export the contents of a filesystem as a tar archive
|
||||
Export the contents of a filesystem as a tar archive to STDOUT
|
||||
|
||||
for example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo docker export red_panda > latest.tar
|
||||
|
||||
.. _cli_history:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue