-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #905 from pouchrobot/auto-doc-2018-03-16
docs: auto generate pouch cli/api docs via code
- Loading branch information
Showing
4 changed files
with
139 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## pouch logs | ||
|
||
Print a container's logs | ||
|
||
### Synopsis | ||
|
||
Print a container's logs | ||
|
||
``` | ||
pouch logs [OPTIONS] CONTAINER | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--details Show extra provided to logs | ||
-f, --follow Follow log output | ||
-h, --help help for logs | ||
--since string Show logs since timestamp | ||
--tail string Number of lines to show from the end of the logs default "all" (default "all") | ||
-t, --timestamps Show timestamps | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-H, --host string Specify connecting address of Pouch CLI (default "unix:///var/run/pouchd.sock") | ||
--tlscacert string Specify CA file of TLS | ||
--tlscert string Specify cert file of TLS | ||
--tlskey string Specify key file of TLS | ||
--tlsverify Use TLS and verify remote | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [pouch](pouch.md) - An efficient container engine | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## pouch top | ||
|
||
Display the running processes of a container | ||
|
||
### Synopsis | ||
|
||
top comand is to display the running processes of a container.Your can add options just like using Linux ps command. | ||
|
||
``` | ||
pouch top CONTAINER [ps OPTIONS] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
$ pouch top 44f675 | ||
UID PID PPID C STIME TTY TIME CMD | ||
root 28725 28714 0 3月14 ? 00:00:00 sh | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for top | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-H, --host string Specify connecting address of Pouch CLI (default "unix:///var/run/pouchd.sock") | ||
--tlscacert string Specify CA file of TLS | ||
--tlscert string Specify cert file of TLS | ||
--tlskey string Specify key file of TLS | ||
--tlsverify Use TLS and verify remote | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [pouch](pouch.md) - An efficient container engine | ||
|