Skip to content

Instantly share code, notes, and snippets.

View danmack's full-sized avatar

Dan Mack danmack

View GitHub Profile
@danmack
danmack / alpine-podman-rootless.md
Last active May 18, 2025 05:58
Podman Rootless on Alpine Linux

How to do rootless Podman on Alpine Linux

Using recent podman (3.x) on 5.10.x Alpine Linux Kernels

apk add podman util-linux

enable and start the cgroups and podman services

@danmack
danmack / nix-alpine.org
Last active April 17, 2026 22:49
install NIX package manager on Alpine Linux

NIX Package Manager Install on Alpine Linux

System Information

  • alpine 3.17.1, 3.18, 3.19 and edge x86-64
  • multiple linux kernels worked 6.1.8-lts w/zfs and 6.6.8-lts
  • edge, testing apk repos enabled

Preparation

@danmack
danmack / gitlab-lfs-self-signed.md
Created October 20, 2023 20:26
Git LFS on Private Self-Signed GitLab Server

How to set up and work with an LFS repo

This writeup describes how to work with LFS on an internal / private gitlab server using self signed certificates.

Setting up your Git Software

Your git software (git cli command most likely) will need to have the git-lfs software installed. If you are on Ubuntu Linux, this add-on is available in the apt software repo, for example:

@danmack
danmack / zig-binary-sizes.md
Created November 26, 2023 21:42
ziglang binary sizes by compiler option test

Zig Binary Sizes by Compiler Option

Testing binary sizes created by zig on an alpine linux using zig built from its master branch.

$ ls -l release* | sort -n -k4 | awk '{ printf("%21s %8d bytes\n", $NF, $5);}'
        releaseSmall    13696 bytes
releaseFast-stripped   186496 bytes
releaseSafe-stripped 224096 bytes