8000 Tags · ulm0/limakit · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Rootless Docker via env LIMAKIT_DOCKER_ROOTLESS (#10)

rootless Docker via env LIMAKIT_DOCKER_ROOTLESS

Alpine's dockerd-rootless runs as the Lima user in the lima container; docker in ssh sessions
talks to it (DOCKER_HOST), sudo docker to the rootful service. Lima has no setting for it and
rejects an unused param, so it's read from env. No memory/CPU limits (rootless dockerd needs
systemd for cgroups); not started with containerd.user (dockerd-rootless refuses).


Claude-Session: https://claude.ai/code/session_011yFVY9Fxk7y3zK383Qf9fU

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
containerd.system and containerd.user without Lima's systemd install (#8

)

* mDNS: .local lookups work via hostResolver; document and test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011yFVY9Fxk7y3zK383Qf9fU

* kernel: CONFIG_TUN=y for rootless containerd (slirp4netns)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011yFVY9Fxk7y3zK383Qf9fU

* containerd.system and containerd.user without systemd

limakit runs Alpine's containerd, buildkitd and nerdctl in the lima container
when lima.yaml sets containerd.system/user, instead of Lima's nerdctl-full
install (needs systemd). Rootless runs under RootlessKit (vendored
containerd-rootless.sh) with a cgroup delegated to the user, so limits work.
A systemctl stub, linked after boot.sh, passes Lima's start-up check.

test/run.sh: containerd checks on boot 2; honor LIMA_HOME; isolate helm repos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011yFVY9Fxk7y3zK383Qf9fU

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v1.1.0

Toggle v1.1.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
chore: docker 29 dind

v1.0.0

Toggle v1.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
dockerd listens on /var/run/docker.sock too; make pulls the kernel vi…

…a docker

- Containers that bind-mount /var/run/docker.sock (k3d image import, which
  skaffold uses; testcontainers; CI runners) resolve the path in dockerd's
  namespace, where only /run/dockersock/docker.sock existed.
- linuxkit v1.8.2 resolves ghcr.io names against Docker Hub when it pulls,
  so a fresh clone's `make` couldn't fetch the kernel; docker pulls it first.
- test/run.sh: docker socket mounted into a container, k3d image import.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBJpqXdLX8oPMYwU5DwN5W

v1.0.0-rc.5

Toggle v1.0.0-rc.5's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
dockerd listens on /var/run/docker.sock too; make pulls the kernel vi…

…a docker

- Containers that bind-mount /var/run/docker.sock (k3d image import, which
  skaffold uses; testcontainers; CI runners) resolve the path in dockerd's
  namespace, where only /run/dockersock/docker.sock existed.
- linuxkit v1.8.2 resolves ghcr.io names against Docker Hub when it pulls,
  so a fresh clone's `make` couldn't fetch the kernel; docker pulls it first.
- test/run.sh: docker socket mounted into a container, k3d image import.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBJpqXdLX8oPMYwU5DwN5W

v1.0.0-rc.4

Toggle v1.0.0-rc.4's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Support k3s/k3d with flannel and Cilium

Kernel (kernel/limakit.config): k3s' check-config required list plus what
its defaults use (legacy iptables tables, MARK/REJECT/comment/multiport/
statistic, ipset, NFLOG, IPVS, VXLAN), and Cilium's requirements (tc BPF:
NET_SCH_INGRESS/NET_CLS_BPF/NET_CLS_ACT, BTF via DEBUG_INFO_BTF, SCHEDSTATS,
GENEVE, FIB rules, TPROXY/socket/CT, XFRM_USER for its netlink handle,
CGROUP_NET_CLASSID for bpf_get_cgroup_classid()).

kernel/build.sh installs pahole and python3 from Alpine in both build
stages (BTF; not in LinuxKit's builder mirror).

limakit.yml: /dev/kmsg in the docker service (kubelet opens it; privileged
containers inherit dind's /dev).

test/run.sh: k3s node Ready in docker, k3d + flannel and k3d + Cilium
clusters with a pod reachable through a Service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBJpqXdLX8oPMYwU5DwN5W

v1.0.0-rc.3

Toggle v1.0.0-rc.3's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Keep data on the instance disk, fix sysctl, stop forwarding dhcpcd's …

…port

- Drop the separate limakit-docker data disk. Docker data, /home, /root,
  /usr/local and ssh host keys now live on the instance's own disk (Lima's
  `disk:`), in the space after the squashfs root: a loop device at an
  offset from the squashfs superblock, ext4 made once if blank. Any number
  of instances work with a plain `limactl start`; data survives restarts,
  not `limactl delete` or a recreate. Kernel gains BLK_DEV_LOOP and
  BLK_DEV_WRITE_MOUNTED (the loop opens the disk the root is mounted from).
- linuxkit/sysctl never ran since limakit's drop-in was bound onto a file
  its read-only image lacks; runc failed to create the container. LinuxKit's
  sysctls run untouched again, limakit's in a second step.
- lima.yaml: ignore UDP 68 (dhcpcd's client socket was being forwarded);
  disk 60GiB, cpus 4, memory 8GiB.
- test/run.sh: checks data on the instance disk, sysctls, port 68.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBJpqXdLX8oPMYwU5DwN5W

v1.0.0-rc.2

Toggle v1.0.0-rc.2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Minimal kernel config over allnoconfig; fix docker cgroup limits

kernel/limakit.config is now the complete option list (156 options) on top
of allnoconfig instead of a delta on LinuxKit's general-purpose config:
VZ direct-boot hardware, LinuxKit runtime, Docker and Lima full mode only.
The kernel drops from 28.6 MB to 17.4 MB. Verified by test/run.sh with
every check passing and none skipped.

Needed beyond the first draft: USER_NS (runc needs /proc/self/setgroups),
SQUASHFS_XATTR (the root image carries file capabilities), IP6_NF_IPTABLES
(xt_addrtype's IPv6 variant; dockerd's ip6tables chains), and the
ARM64_USE_LSE_ATOMICS prompt instead of its hidden symbol.

dockerd now uses --cgroup-parent=/docker-containers: the LinuxKit service's
own cgroup is /docker, dockerd's default parent, so every --memory/--cpus
container failed. test/run.sh checks limits, ip6tables and IPv6 networks.

Removes the video.display bits (VT console, agetty on tty1): no USB/GPU
in the kernel.

Closes #6

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBJpqXdLX8oPMYwU5DwN5W

v1.0.0-rc.1

Toggle v1.0.0-rc.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Boot kernel+squashfs, add CI and feature tests, publish names

- Lima boots the kernel directly with the squashfs as a read-only root
  disk (images[].kernel), so the root filesystem no longer unpacks into
  RAM: an idle VM uses ~150 MB and 2 GiB is enough. The kernel drops
  EFI zboot (VZ needs a plain arm64 Image) and sound.
- lima.yaml points at the latest release's kernel and squashfs; releases
  also ship a lima.yaml pinned to their files and digests. make run and
  test/run.sh swap in the local out/ files.
- limakit.yml references ghcr.io/ulm0/limakit/{kernel:6.12.59,lima:latest};
  make kernel / make lima-image tag those names locally.
- .github/workflows/build.yml builds on ubuntu-24.04-arm: shellcheck, the
  kernel (cached by a hash of its inputs), the lima image, the image as
  an artifact, and a release on v* tags.
- test/run.sh checks every supported Lima feature over two boots.
- lima-init on Alpine 3.24; audio device access removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBJpqXdLX8oPMYwU5DwN5W
0