mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 01:01:37 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/linux/apptainer-delete
Normal file
33
tldr/linux/apptainer-delete
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apptainer delete
|
||||
|
||||
> Delete container images from a remote library.
|
||||
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_delete.html>.
|
||||
|
||||
- Delete an image from the Container Library:
|
||||
|
||||
`apptainer delete library://{{user/collection/container}}:{{tag}}`
|
||||
|
||||
- Delete an image for a specific architecture:
|
||||
|
||||
`apptainer delete --arch {{amd64|arm64|ppc64le}} library://{{user/collection/container}}:{{tag}}`
|
||||
|
||||
- [F]orce delete an image without confirmation:
|
||||
|
||||
`apptainer delete {{[-F|--force]}} library://{{user/collection/container}}:{{tag}}`
|
||||
|
||||
- Delete an image from a specific library server:
|
||||
|
||||
`apptainer delete --library {{https://library.example.com}} library://{{user/collection/container}}:{{tag}}`
|
||||
|
||||
- Delete an image using HTTP instead of HTTPS:
|
||||
|
||||
`apptainer delete --no-https library://{{hostname/user/collection/container}}:{{tag}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`apptainer delete {{[-h|--help]}}`
|
||||
@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{path/to/webroot}} {{[-d|--domain]}} {{subdomain.example.com}}`
|
||||
|
||||
- Obtain a new certificate via nginx authorization, installing the new certificate automatically:
|
||||
- Obtain a new certificate via `nginx` authorization, installing the new certificate automatically:
|
||||
|
||||
`sudo certbot --nginx {{[-d|--domain]}} {{subdomain.example.com}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# semanage permissive
|
||||
|
||||
> Manage persistent SELinux permissive domains.
|
||||
> Note that this effectively makes the process unconfined. For long-term use, it is recommended to configure SELiunx properly.
|
||||
> Note that this effectively makes the process unconfined. For long-term use, it is recommended to configure SELinux properly.
|
||||
> See also: `semanage`, `getenforce`, `setenforce`.
|
||||
> More information: <https://manned.org/semanage-permissive>.
|
||||
|
||||
|
||||
@@ -14,6 +14,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`setenforce {{1|Enforcing}}`
|
||||
|
||||
- Put SELiunx in permissive mode:
|
||||
- Put SELinux in permissive mode:
|
||||
|
||||
`setenforce {{0|Permissive}}`
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemctl edit
|
||||
|
||||
> Edit systemd unit files.
|
||||
> See also: `systemctl revert`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#edit%20UNIT%E2%80%A6>.
|
||||
|
||||
- Overlay a unit file non-destructively:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemctl reload
|
||||
|
||||
> Reload a service's configuration without restarting it.
|
||||
> This reloads the service itself (like Apache or Nginx configs), not the systemd unit file.
|
||||
> This reloads the service itself (like Apache or `nginx` configs), not the systemd unit file.
|
||||
> To reload unit files, use `systemctl daemon-reload`.
|
||||
|
||||
- Reload a service:
|
||||
|
||||
Reference in New Issue
Block a user