Skip to content

Instantly share code, notes, and snippets.

View shreyasssk's full-sized avatar
🔥

Shreyas Shivakumar shreyasssk

🔥
View GitHub Profile
@shreyasssk
shreyasssk / signing-keys.md
Last active May 2, 2024 08:21
Docker Image Signing

Signing Docker Images

For this demo I will be using a simple hello-world docker image, and tag it as shreyasssk/signatures:1

This creates a digital signature.

$ docker trust key generate key1

This command creates a .pub key in the directory where the

@shreyasssk
shreyasssk / docker-backup.md
Last active April 25, 2021 06:35
A gist to restore backed-up docker volumes on migrated server

Restoring a docker volume

Before restoring the backup run the following command:

$ chmod +x first-script.sh
$ ./first-script.sh

This script will clean the locally stored backup if any and create a backup folder to store the backup.

In the Backup Duplicati Server perform the following steps: