Forwarded from MH Alahdadian
اگه توی یه فضای ایزوله هستید (مثل ci( و میخواید یه ایمیج بسازید
حتی به docker file هم احتیاج ندارید
میتونید با استفاده از
https://github.com/containers/buildah
یه oci image رو مستقیم بسازید
حتی به docker file هم احتیاج ندارید
میتونید با استفاده از
https://github.com/containers/buildah
یه oci image رو مستقیم بسازید
GitHub
GitHub - containers/buildah: A tool that facilitates building OCI images.
A tool that facilitates building OCI images. Contribute to containers/buildah development by creating an account on GitHub.
K8s vs K3s
Kubernetes (K8s): A powerful, full-featured container orchestrator for large, complex production deployments, known for its scalability and advanced features.
K3s: A lightweight, simplified distribution of Kubernetes designed for resource-constrained environments such as edge, IoT, and local development.
Kubernetes (K8s): A powerful, full-featured container orchestrator for large, complex production deployments, known for its scalability and advanced features.
K3s: A lightweight, simplified distribution of Kubernetes designed for resource-constrained environments such as edge, IoT, and local development.
😱1
A .gpg file is an encrypted file created using GnuPG (GPG), the GNU Privacy Guard.
example:
Step 1. Create a sample secret file
$> echo "This is my root token: s.ABC123XYZ" > secret.txt
$> cat secret.txt
This is my root token: s.ABC123XYZ
Step 2. Create a GPG key pair (only once)
$> gpg --full-generate-key
Then follow the prompts…. and set email and password…
Step 3. Encrypt the file
$> gpg --encrypt --recipient omid@example.com secret.txt
This creates a new file: secret.txt.gpg
$> cat secret.txt.gpg
You’ll see garbage, binary data (that’s encrypted).
Step 4. Delete the original (optional, for safety)
$> shred -u secret.txt
(shred overwrites and deletes it securely)
Step 5. Decrypt when needed
$> gpg --output secret.txt --decrypt secret.txt.gpg
It will: 1) Ask for your GPG key passphrase 2) Restore the original plaintext file
example:
Step 1. Create a sample secret file
$> echo "This is my root token: s.ABC123XYZ" > secret.txt
$> cat secret.txt
This is my root token: s.ABC123XYZ
Step 2. Create a GPG key pair (only once)
$> gpg --full-generate-key
Then follow the prompts…. and set email and password…
Step 3. Encrypt the file
$> gpg --encrypt --recipient omid@example.com secret.txt
This creates a new file: secret.txt.gpg
$> cat secret.txt.gpg
You’ll see garbage, binary data (that’s encrypted).
Step 4. Delete the original (optional, for safety)
$> shred -u secret.txt
(shred overwrites and deletes it securely)
Step 5. Decrypt when needed
$> gpg --output secret.txt --decrypt secret.txt.gpg
It will: 1) Ask for your GPG key passphrase 2) Restore the original plaintext file
👍1