mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 11:01:50 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,15 +11,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- New annotations to set (default []):
|
||||
|
||||
`crane mutate {{-a|--annotation}}/{{-l|--label}} {{annotation/label}}`
|
||||
`crane mutate {{[-a|--annotation]}}/{{[-l|--label]}} {{annotation/label}}`
|
||||
|
||||
- Path to tarball/command/entrypoint/environment variable/exposed-ports to append to image:
|
||||
|
||||
`crane mutate {{--append}}/{{--cmd}}/{{--entrypoint}}/{{-e|--env}}/{{--exposed-ports}} {{var1 var2 ...}}`
|
||||
`crane mutate {{--append}}/{{--cmd}}/{{--entrypoint}}/{{[-e|--env]}}/{{--exposed-ports}} {{var1 var2 ...}}`
|
||||
|
||||
- Path to new tarball of resulting image:
|
||||
|
||||
`crane mutate {{-o|--output}} {{path/to/tarball}}`
|
||||
`crane mutate {{[-o|--output]}} {{path/to/tarball}}`
|
||||
|
||||
- Repository in the form os/arch{{/variant}}{{:osversion}}{{,<platform>}} to push mutated image:
|
||||
|
||||
@@ -27,16 +27,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- New tag reference to apply to mutated image:
|
||||
|
||||
`crane mutate {{-t|--tag}} {{tag_name}}`
|
||||
`crane mutate {{[-t|--tag]}} {{tag_name}}`
|
||||
|
||||
- New user to set:
|
||||
|
||||
`crane mutate {{-u|--user}} {{username}}`
|
||||
`crane mutate {{[-u|--user]}} {{username}}`
|
||||
|
||||
- New working dir to set:
|
||||
|
||||
`crane mutate {{-w|--workdir}} {{path/to/workdir}}`
|
||||
`crane mutate {{[-w|--workdir]}} {{path/to/workdir}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`crane mutate {{-h|--help}}`
|
||||
`crane mutate {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user