mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 04:44:12 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# docker run
|
# docker run
|
||||||
|
|
||||||
> Run a command in a new Docker container.
|
> Run a command in a new Docker container.
|
||||||
> More information: <https://docs.docker.com/engine/reference/commandline/run/>.
|
> More information: <https://docs.docker.com/reference/cli/docker/container/run/>.
|
||||||
|
|
||||||
- Run command in a new container from a tagged image:
|
- Run command in a new container from a tagged image:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# docker save
|
# docker save
|
||||||
|
|
||||||
> Export Docker images to archive.
|
> Export Docker images to archive.
|
||||||
> More information: <https://docs.docker.com/engine/reference/commandline/save/>.
|
> More information: <https://docs.docker.com/reference/cli/docker/image/save/>.
|
||||||
|
|
||||||
- Save an image by redirecting `stdout` to a tar archive:
|
- Save an image by redirecting `stdout` to a tar archive:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# docker secret
|
# docker secret
|
||||||
|
|
||||||
> Manage Docker swarm secrets.
|
> Manage Docker swarm secrets.
|
||||||
> More information: <https://docs.docker.com/engine/reference/commandline/secret/>.
|
> More information: <https://docs.docker.com/reference/cli/docker/secret/>.
|
||||||
|
|
||||||
- Create a new secret from `stdin`:
|
- Create a new secret from `stdin`:
|
||||||
|
|
||||||
|
|||||||
26
tldr/linux/secret-tool
Normal file
26
tldr/linux/secret-tool
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# secret-tool
|
||||||
|
|
||||||
|
> Store and retrieve passwords, part of the `libsecret` package.
|
||||||
|
> Communicates with Freedesktop secret service implementations such as `gnome-keyring`.
|
||||||
|
> More information: <https://gnome.pages.gitlab.gnome.org/libsecret/>.
|
||||||
|
|
||||||
|
- Store a secret with an optional label:
|
||||||
|
|
||||||
|
`secret-tool store --label={{label}} {{key}} {{value}}`
|
||||||
|
|
||||||
|
- Retrieve a secret:
|
||||||
|
|
||||||
|
`secret-tool lookup key {{key}}`
|
||||||
|
|
||||||
|
- Get more information about a secret:
|
||||||
|
|
||||||
|
`secret-tool search key {{key}}`
|
||||||
|
|
||||||
|
- Delete a stored secret:
|
||||||
|
|
||||||
|
`secret-tool clear key {{key}}`
|
||||||
Reference in New Issue
Block a user