Saturday, 26th October 2024

Getting Docker on Arch Linux My old Gist is still relevant: https://gist.github.com/bartprokop/15b07ec2502c59cf8020b1541ad57d5c but be comfortable to switch to volumes for data persistence. pacman -S docker systemctl start docker.service docker info I will need genfstab - https://wiki.archlinux.org/title/Genfstab # mount root BTRFS volume and create Docker dedicated subvolume mkdir /mnt/sda2 mount /dev/sda2 /mnt/sda2 cd /mnt/sda2 btrfs subvolume create svols/docker pacman -S arch-install-scripts mkdir /var/lib/docker mount -o subvol=/svols/docker /dev/sda2 /var/lib/docker genfstab / /dev/sda2 /var/lib/docker btrfs rw,noatime,ssd,discard=async,space_cache=v2,subvol=/svols/docker 0 0 # Reboot and ensure all filesystems are mounted as expected....

October 26, 2024 · 4 min · Bart Prokop

Saturday, 19th October 2024

Aligning IPv4 and IPv6 numbering I use following Class C for three network location: 192.168.16.0/20 - location 1 192.168.32.0/20 - location 2 192.168.48.0/20 - location 3 That gives 16 subnets per location, e.g. main network, guest network, IoT, DMZ, etc. The VLAN id is added to third octet, so if I use VLAN 1 and VLAN 5, it will give: 192.168.17.0/24 - main network in location 1, VLAN 1. 192.168.21.0/24 - guest netwoek in location 1, VLAN 5....

October 19, 2024 · 8 min · Bart Prokop