Skip to content

Instantly share code, notes, and snippets.

@gogonkt
gogonkt / LXCBindMount.md
Created August 3, 2025 08:28 — forked from ajmassi/LXCBindMount.md
Create a bind mount from a Proxmox host on an unprivileged lxc container

Proxmox Assign Bind Mount To Unprivileged Container

In order for the LXC container to have full access the proxmox host directory, a subgid is set as owner of a host directory, and an ACL is used to ensure permissions.

Bind Mount dataset to LXC

Add the following line to /etc/pve/lxc/<CT_ID>.conf

mp0:/mount/point/on/host,mp=/mount/point/on/lxc

Create group on host

In the default Proxmox configuration, unpriviliged container subgids will have the prefix "10" followed by the expected 4-digit gid.

@gogonkt
gogonkt / expose-directory-on-host-to-lxc-container.md
Created August 3, 2025 05:29 — forked from julianlam/expose-directory-on-host-to-lxc-container.md
Exposing a directory on the host machine to an LXC container #blog

Exposing a directory on the host machine to an LXC container

  1. Log into the container and create an empty directory, this will be the mount point
  2. Log out and stop the container.
  3. Open to your container's config file
    • For regular LXC containers: /var/lib/lxc/mycontainer/config
    • For unprivileged LXC containers: $HOME/.local/share/lxc/mycontainer/config
  4. Add a new line above the lxc.mount directive, that follows the format below. Substitute proper paths as necessary:
    • lxc.mount.entry = /path/to/folder/on/host /path/to/mount/point none bind 0 0
  • Both of these paths are relative to the host machine.
@gogonkt
gogonkt / boot-from-ram-debian.md
Created July 29, 2025 03:30 — forked from avinash-oza/boot-from-ram-debian.md
How to boot from RAM on debian
@gogonkt
gogonkt / AlpineK8s.md
Created July 2, 2025 09:17 — forked from RamboRogers/AlpineK8s.md
Alpine Linux K8s in 10 Minutes

Alpine Linux 🌲 K8s in 10 Minutes

Summary

This guide will allow you to deploy a fresh Alpine Linux install into a Kubernetes K8 cluster in less than 10 minutes.

Why ✨

I went to learn Kubernetes recently and I built a k3 cluster using Alpine in an hour or so, it was a great experience. I figured the next step would be K8s, but I found no material on K8s for Alpine. This guide is the result of my first pass and the incorporations of high quality notes from the contributers. Kubernetes 🦄 is awesome.

Contributers

@gogonkt
gogonkt / Raspberry Pi Access Point on Alpine Linux.md
Created June 29, 2025 08:44 — forked from XtendedGreg/Raspberry Pi Access Point on Alpine Linux.md
Creating an Access Point on Raspberry Pi running Alpine Linux

Creating an Access Point on Raspberry Pi running Alpine Linux

By: XtendedGreg as seen on https://youtube.com/live/Uagq3oZrk6k

Introduction

Creating an access point with Alpine Linux on a Raspberry Pi can be an excellent project, as it allows you to extend your network or even create a new wireless network in a location where only wired internet is available. Below is a procedure to help you set up your Raspberry Pi as an access point using Alpine Linux. This guide assumes you have basic knowledge of Linux commands and networking.

Equipment Needed

  • Raspberry Pi (any model with Wi-Fi capability, e.g., Raspberry Pi 3/4/5)
  • MicroSD card (8 GB or more recommended)
  • Power supply for Raspberry Pi
@gogonkt
gogonkt / Alpine_Linux_Install .md
Last active September 29, 2023 05:04
Alpine_Linux_Install .md

Alpine_Linux_Install .md

  1. Download Alpine ISO

  2. Boot the ISO with Ventoy Flash drive.

  3. ****** Lazy Desktop Setup/Fluxbox/Firefox

    setup-xorg-base fluxbox alacritty font-terminus firefox font-noto-cjk alsaconf alsa-utils xf86-input-synaptics thunar -i
    fluxbox-generate_menu -t alacritty
    
@gogonkt
gogonkt / wlan.md
Created September 24, 2023 13:00 — forked from okanon/wlan.md
AlpineLinux with wlan settings

AlpineLinux with wlan settings.

Install necessary drivers and software

First make sure your wireless drivers are loaded properly.
Install wpa_supplicant & dhcpcd.

apk add wpa_supplicant dhcpcd

Configuration

@gogonkt
gogonkt / Oscilloscope.md
Last active October 12, 2022 07:51
Oscilloscope.md
@gogonkt
gogonkt / T12_Notes.md
Last active January 2, 2025 00:09
T12_Notes.md