Alpine package #215
Replies: 7 comments
-
Awesome! Alpine happens to be my favorite distro to host my docker containers:
I use https://github.com/csachs/docker-zfs-plugin to have ZFS datasets for every ZFS volume. So all my docker-compose stuff updates automatically every night, after snapshotting the volumes with ZFS. Whenever it fails i can simple rollback and fix whatever went wrong. :) (I even run some legacy VM's via qemu-kvm inside docker now) |
Beta Was this translation helpful? Give feedback.
-
And since the rootfs is also ZFS, i can also auto-upgrade Alpine (every week) I created script that roll it back and reboot if an upgrade fails. |
Beta Was this translation helpful? Give feedback.
-
(Oh and obviously i use zfs-autobackup to backup all those docker volumes ) |
Beta Was this translation helpful? Give feedback.
-
It's my favorite Linux as well, coming from FreeBSD 🙂 I also highly recommend https://docs.zfsbootmenu.org/en/v2.2.x/ , it's a tiny initramfs-based boot loader that allows you to select the ZFS dataset or snapshot to boot your actual Linux from. Kinda like ZFS support in the FreeBSD boot loader. It's already saved my ass when an upgrade went wrong 🤣 And you don't need an ext4 boot partition, just the standard EFI one. |
Beta Was this translation helpful? Give feedback.
-
ah cool i wanted to try it, but wasnt sure if anyone had tried it with alpine :) boot-environments are great |
Beta Was this translation helpful? Give feedback.
-
They have a step-by-step guide for Alpine!On 13. 9. 2023, at 12:09 PM, DatuX ***@***.***> wrote:
ah cool i wanted to try it, but wasnt sure if anyone had tried it with alpine :)
boot-environments are great
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To follow up on this: All our boxes now use alpine, and we're publishing our installer script to make it easier to get Alpine + ZFS + ZfsBootmenu: https://github.com/psy0rz/alpinebox Since installing is way too much steps otherwise, and for most VPS providers we just use images we curl > dd to disk. (will also be published later) |
Beta Was this translation helpful? Give feedback.
-
Hey, I just added zfs-autobackup to Alpine testing repo.
https://pkgs.alpinelinux.org/package/edge/testing/x86_64/py3-zfs-autobackup
Beta Was this translation helpful? Give feedback.
All reactions