puffnfresh / linuxkit-builder-1

An easy to use Linux builder for macOS, repo [maintainer=@grahamc]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linuxkit-builder

Installation

Fetch it from the NixOS binary cache:

nix-store -r /nix/store/1f5zgx8qykz2fxzhqphmsfp6cvpnfc94-linuxkit-builder
nix-env -i /nix/store/1f5zgx8qykz2fxzhqphmsfp6cvpnfc94-linuxkit-builder
nix-linuxkit-configure

It'll write to:

  • ~/.cache/nix-linuxkit-builder/, in particular ~/.cache/nix-linuxkit-builder/nix-state/console-ring is interesting
  • ~root/.ssh/ for the SSH config
  • /etc/nix/machines
  • ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist

It should automatically start and stay running, but ...

You can force start it with:

launchctl start org.nix-community.linuxkit-builder

You can force stop it with:

launchctl stop org.nix-community.linuxkit-builder

If after you stop it you may want to check for processes, like:

pgrep vpnkit
pgrep linuxkit
pgrep hyperkit

If something goes wrong and it didn't stop propery, you can try:

pkill -F ~/.cache/nix-linuxkit-builder/nix-state/hyperkit.pid hyperkit

About

An easy to use Linux builder for macOS, repo [maintainer=@grahamc]

License:Other


Languages

Language:Nix 66.1%Language:Shell 13.6%Language:C 12.1%Language:Rust 8.2%