Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Adding docs/quadlet-examples dir #140

Merged
merged 1 commit into from
Jul 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ repository enabled in order to provide `golang-github-cpuguy83-md2man` package.
# dnf install -y python3-dnf-plugins-core
# dnf config-manager --set-enabled crb
```

## Examples

Looking for quadlet examples files? See our [docs dir](docs/quadlet-examples/).
22 changes: 22 additions & 0 deletions docs/quadlet-examples/virtualization/android/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
An example of Android container running on top of kvm using quadlet and Wayland.

```
$ cat ~/.config/containers/systemd/android.container

[Service]
Environment=WAYLAND_DISPLAY=wayland-0

[Container]
AddDevice=/dev/dri/renderD128
AddDevice=/dev/kvm
ContainerName=android
NoNewPrivileges=true
DropCapability=all
Environment=PULSE_SERVER=%t/pulse/native
Environment=WAYLAND_DISPLAY=${WAYLAND_DISPLAY}
Environment=XDG_RUNTIME_DIR=%t
Image=quay.io/slopezpa/qemu-aaos
PodmanArgs=--shm-size=5g
SecurityLabelDisable=true
Volume=%t:%t
```