Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apinske/virt
small Linux VM, ready to run containers, for macOS on ARM
https://github.com/apinske/virt
alpine-linux k3d linux macos podman virtualization-framework
Last synced: 16 days ago
JSON representation
small Linux VM, ready to run containers, for macOS on ARM
- Host: GitHub
- URL: https://github.com/apinske/virt
- Owner: apinske
- License: mit
- Created: 2020-06-07T16:24:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T15:32:31.000Z (about 2 months ago)
- Last Synced: 2024-09-17T19:35:17.501Z (about 2 months ago)
- Topics: alpine-linux, k3d, linux, macos, podman, virtualization-framework
- Language: Shell
- Homepage:
- Size: 5 MB
- Stars: 140
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# virt
small Linux VM, ready to run containers, for macOS on ARM## Usage
* on macOS
* `curl -Lo- https://github.com/apinske/virt/releases/download/v0.11/virt.tar.gz | tar xzf -`
* `./virt`
* in VM
* `apk upgrade`
* `./setup-vdb.sh`
* `./setup-podman.sh`
* to test: `podman run --rm -it alpine`
* `./setup-rosetta.sh`
* to test: `podman run --rm -it --arch amd64 alpine`
* `./setup-k3d.sh`
* to test: `kubectl create deployment nginx --image nginx`
* $HOME is mounted at /mnt/virt/home
* ssh
* `apk add dropbear && reboot`
* `ssh root@$(ndp -an | grep $(cat .virt.mac) | awk '{print $1}')`## Components
### Kernel
* based on 6.6 longterm
* small set of features
* only virtio drivers### Userland
* based on Alpine 3.20
* stripped down### Hypervisor
* based on Apple Virtualization.framework