mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 09:52:33 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/apptainer-search
Normal file
29
tldr/linux/apptainer-search
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apptainer search
|
||||
|
||||
> Search a Container Library for container images.
|
||||
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_search.html>.
|
||||
|
||||
- Search for container images matching a query:
|
||||
|
||||
`apptainer search {{query}}`
|
||||
|
||||
- Search for container images for a specific architecture:
|
||||
|
||||
`apptainer search --arch {{amd64|arm64|386|ppc64le|s390x}} {{query}}`
|
||||
|
||||
- Search for only signed container images:
|
||||
|
||||
`apptainer search --signed {{query}}`
|
||||
|
||||
- Search in a specific Container Library:
|
||||
|
||||
`apptainer search --library {{library_url}} {{query}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`apptainer search {{[-h|--help]}}`
|
||||
33
tldr/linux/apptainer-sign
Normal file
33
tldr/linux/apptainer-sign
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apptainer sign
|
||||
|
||||
> Add digital signatures to a SIF container image.
|
||||
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_sign.html>.
|
||||
|
||||
- Sign a container image using the default PGP key:
|
||||
|
||||
`apptainer sign {{path/to/image.sif}}`
|
||||
|
||||
- Sign a container image using a specific private key file:
|
||||
|
||||
`apptainer sign --key {{path/to/private.pem}} {{path/to/image.sif}}`
|
||||
|
||||
- Sign a container image using a specific PGP key index:
|
||||
|
||||
`apptainer sign {{[-k|--keyidx]}} {{key_index}} {{path/to/image.sif}}`
|
||||
|
||||
- Sign a specific object group within the image:
|
||||
|
||||
`apptainer sign {{[-g|--group-id]}} {{group_id}} {{path/to/image.sif}}`
|
||||
|
||||
- Sign a specific object by ID within the image:
|
||||
|
||||
`apptainer sign {{[-i|--sif-id]}} {{object_id}} {{path/to/image.sif}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`apptainer sign {{[-h|--help]}}`
|
||||
@@ -28,3 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Send a file to the trash (reversible):
|
||||
|
||||
`gio trash {{path/to/file}}`
|
||||
|
||||
- Launch an application from a `.desktop` file:
|
||||
|
||||
`gio launch {{path/to/file}}.desktop`
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl mask
|
||||
|
||||
> Link units to `/dev/null` so that they can be even started.
|
||||
> Link units to `/dev/null` so that they cannot be started.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#mask%20UNIT%E2%80%A6>.
|
||||
|
||||
- Mask a service:
|
||||
|
||||
Reference in New Issue
Block a user