-
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.
docs: auto generate pouch cli/api docs via code
Signed-off-by: pouchrobot <[email protected]>
- Loading branch information
1 parent
5c253f9
commit 7235f82
Showing
7 changed files
with
177 additions
and
38 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 build | ||
|
||
Build an image from a Dockerfile | ||
|
||
### Synopsis | ||
|
||
Build an image from a Dockerfile | ||
|
||
``` | ||
pouch build [OPTION] PATH | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--addr string buildkitd address (default "unix:///run/buildkit/buildkitd.sock") | ||
--build-arg stringArray Set build-time variables | ||
-h, --help help for build | ||
-t, --tag stringArray Name and optionally a tag in the 'name:tag' format | ||
--target string Set the target build stage to build | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-D, --debug Switch client log level to DEBUG mode | ||
-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
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,45 @@ | ||
## pouch push | ||
|
||
Push an image to registry | ||
|
||
### Synopsis | ||
|
||
Push a local image to remote registry. | ||
|
||
``` | ||
pouch push IMAGE[:TAG] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
$ pouch push docker.io/testing/busybox:1.25 | ||
docker.io/testing/busybox:1.25: resolved |++++++++++++++++++++++++++++++++++++++| | ||
manifest-sha256:29f5d56d12684887bdfa50dcd29fc31eea4aaf4ad3bec43daf19026a7ce69912: done | ||
layer-sha256:56bec22e355981d8ba0878c6c2f23b21f422f30ab0aba188b54f1ffeff59c190: done | ||
config-sha256:e02e811dd08fd49e7f6032625495118e63f597eb150403d02e3238af1df240ba: done | ||
elapsed: 0.0 s total: 0.0 B (0.0 B/s) | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for push | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-D, --debug Switch client log level to DEBUG mode | ||
-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