docs: Codespaces

This commit is contained in:
Kroese 2025-03-18 14:21:27 +01:00 committed by GitHub
parent 68aebafaf3
commit a0f7a61c4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ Docker container for running ARM-based virtual machines using QEMU, for devices
## Usage 🐳 ## Usage 🐳
Via Docker Compose: ##### Via Docker Compose:
```yaml ```yaml
services: services:
@ -46,25 +46,30 @@ services:
stop_grace_period: 2m stop_grace_period: 2m
``` ```
Via Docker CLI: ##### Via Docker CLI:
```bash ```bash
docker run -it --rm --name qemu -e "BOOT=alpine" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/qemu:/storage --stop-timeout 120 qemux/qemu-arm docker run -it --rm --name qemu -e "BOOT=alpine" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/qemu:/storage --stop-timeout 120 qemux/qemu-arm
``` ```
Via Kubernetes: ##### Via Kubernetes:
```shell ```shell
kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/master/kubernetes.yml kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/master/kubernetes.yml
``` ```
##### Via Github Codespaces:
[`Click here to launch this container in the cloud!`](https://github.com/codespaces/new?skip_quickstart=true&machine=basicLinux32gb&repo=626637620&ref=master&devcontainer_path=.devcontainer.json)
## Compatibility ⚙️ ## Compatibility ⚙️
| **Product** | **Platform** | | | **Product** | **Platform** | |
|---|---|---| |---|---|---|
| Docker Engine | Linux| ✅ | | Docker Engine | Linux | ✅ |
| Docker Desktop | Linux | ❌ | | Docker Desktop | Linux | ❌ |
| Docker Desktop | macOS | ❌ | | Docker Desktop | macOS | ❌ |
| Github Codespaces | cloud | ✅ |
## FAQ 💬 ## FAQ 💬