{"repo":"beringresearch/macpine","free":true,"listed":false,"github":"https://github.com/beringresearch/macpine","clone":"git clone https://github.com/beringresearch/macpine.git","description":"Lightweight Linux VMs on MacOS","language":"Go","stars":1035,"topics":["golang","linux","m1-mac","macos","qemu","virtualization"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Lightweight Alpine VMs on MacOS Create and manage lightweight Alpine VMs on MacOS with: :repeat: Seamless port forwarding :card index dividers: Automatic file sharing :roller coaster: Bridged networking :rocket: aarch64 and x86 64 emulation Motivation The goal of this project is to enable MacOS users to: 1. Easily spin up and manage lightweight Alpine Linux environments. 2. Use tiny VMs to take advantage of containerisation technologies, including Incus, LXD and Docker. 3. Build and test software on x86 64 and aarch64 systems. Installation macpine is intended for use on modern macOS. Support for older versions of macOS and other OSes may vary. Install from Homebrew (recommended) Get the latest binary Download the latest binary release for your system and add it to your $PATH by moving it to e.g. /usr/local/bin/ : Macpine depends on QEMU = 7.22.0: Install from MacPorts You can also install macpine via MacPorts: Install from source Building from source requires a working go compiler, and running requires qemu : Getting Started To create and start a new instance: Access instance via ssh: Expose additional instance ports to host: Instances can be easily packaged for backup or sharing as .tar.gz files: This will create a file cheerful-result.tar.gz which can be imported as: See all the docs for more information: - advanced port forwarding and securing instance SSH - editing instance configurations - running incus within instances - running LXD within instances - hardening instance","default_branch":null,"files":null,"tree":[],"storefront":"/r/beringresearch","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/beringresearch/macpine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}