distroless container issues #1

Open
opened 2025-10-27 19:23:58 +00:00 by Brooke · 1 comment
Owner

In the process of attempting to setup snapshots, even when the pre-hook is a binary available in the container it fails to process because abra wraps the command.

- "backupbot.backup=true"
- "backupbot.backup.pre-hook=/garage meta snapshot --all"
- "backupbot.backup.path=/var/lib/garage/meta/snapshots/,/var/lib/garage/meta/cluster_layout,/var/lib/garage/meta/data_layout,/var/lib/garage/meta/node_key,/var/lib/garage/meta/node_key.pub"
$ abra app backup create garage.mirnet.org --chaos
Failed to run command bash -c 'set -o pipefail;/garage meta snapshot --all' in garage_mirnet_org_app.1.c43atpbbfv7of32266cgun8df: OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown

backup finished
In the process of attempting to setup snapshots, even when the pre-hook is a binary available in the container it fails to process because abra wraps the command. ``` - "backupbot.backup=true" - "backupbot.backup.pre-hook=/garage meta snapshot --all" - "backupbot.backup.path=/var/lib/garage/meta/snapshots/,/var/lib/garage/meta/cluster_layout,/var/lib/garage/meta/data_layout,/var/lib/garage/meta/node_key,/var/lib/garage/meta/node_key.pub" ``` ``` $ abra app backup create garage.mirnet.org --chaos Failed to run command bash -c 'set -o pipefail;/garage meta snapshot --all' in garage_mirnet_org_app.1.c43atpbbfv7of32266cgun8df: OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown backup finished ```
Author
Owner

beep: #75

beep: [#75](https://git.coopcloud.tech/coop-cloud/backup-bot-two/issues/75)
Sign in to join this conversation.
No description provided.