https://github.com/containers/podman-machine-qemu
Qemu build for macOS used by the self-contained `podman machine` installer
https://github.com/containers/podman-machine-qemu
Last synced: 2 months ago
JSON representation
Qemu build for macOS used by the self-contained `podman machine` installer
- Host: GitHub
- URL: https://github.com/containers/podman-machine-qemu
- Owner: containers
- Created: 2022-06-12T10:01:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T17:18:37.000Z (over 1 year ago)
- Last Synced: 2025-03-23T19:44:41.948Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 20
- Watchers: 9
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Qemu build for macOS
### How to use the scripts
- install some dependencies, these should already exist if brew is used
```
$ brew install ronn gengetopt automake autoconf libtool cmake meson ninja
```
- run the `build-qemu.sh` script
```
$ chmod +x build-qemu.sh
```
```
# create the prefix/installation directory
$ mkdir -p /opt/podman/qemu
$ chwon -R /opt/podman$ PREFIX=/opt/podman/qemu ./build-qemu.sh
```
- finally add the `$PREFIX/bin` to `PATH`
```
$ export PATH=$PATH:$PREFIX/bin
```
- test the build using an alpine image (download **virtual** image: https://www.alpinelinux.org/downloads/)
```
$ qemu-system-x86_64 -m 512 -nic user -boot d -cdrom alpine-virt-3.15.4-x86.iso -display cocoa
```