From 450db715d3106ca6e83753d3fd4713fd2aa58198 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Fri, 13 Dec 2024 18:51:07 -0800 Subject: [PATCH] New backup 2024-12-13 18:51:07 --- default/home/Scripts/create-podman-container.sh | 10 ++++++++++ default/home/Scripts/destroy-podman-container.sh | 4 ++++ default/include | 2 ++ 3 files changed, 16 insertions(+) create mode 100755 default/home/Scripts/create-podman-container.sh create mode 100755 default/home/Scripts/destroy-podman-container.sh diff --git a/default/home/Scripts/create-podman-container.sh b/default/home/Scripts/create-podman-container.sh new file mode 100755 index 0000000..6257971 --- /dev/null +++ b/default/home/Scripts/create-podman-container.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# https://quay.io/organization/toolbx-images + +podman run -d --privileged \ + --hostname=pod-debian-sid \ + --volume=${HOME}:/root \ + --name=debian-sid-dev \ + --systemd=true quay.io/toolbx-images/debian-toolbox \ + /sbin/init diff --git a/default/home/Scripts/destroy-podman-container.sh b/default/home/Scripts/destroy-podman-container.sh new file mode 100755 index 0000000..c8a52f4 --- /dev/null +++ b/default/home/Scripts/destroy-podman-container.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +podman stop debian-sid-dev +podman rm debian-sid-dev diff --git a/default/include b/default/include index a16b51e..848ca60 100644 --- a/default/include +++ b/default/include @@ -2,3 +2,5 @@ .config/hyfetch.json .gitconfig Scripts/ovpn-import.sh +Scripts/destroy-podman-container.sh +Scripts/create-podman-container.sh