https://github.com/xhu6/dan
My personal tool to quickly create and enter dev containers
https://github.com/xhu6/dan
bash container python
Last synced: over 1 year ago
JSON representation
My personal tool to quickly create and enter dev containers
- Host: GitHub
- URL: https://github.com/xhu6/dan
- Owner: xhu6
- License: mit
- Created: 2025-02-22T22:06:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-22T23:08:50.000Z (over 1 year ago)
- Last Synced: 2025-02-22T23:25:16.257Z (over 1 year ago)
- Topics: bash, container, python
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dan
`dan` is my personal tool to quickly create and enter dev containers.
It supports running X11 and Wayland apps with audio and gpu access.
This is compatible with Fedora and uses Podman under the hood.
## Important information
By default, `dan` tries to use the `base` image which has these requirements
- The user in the container has name `user` (for volumes)
- The user has UID and GID of 1000 (for graphics)
- Has the `render` group (for gpu access)
- `alsa-utils`, `pipewire` and `pipewire-alsa` are installed (for audio)
An example using Debian is provided. Feel free to customise the script and the image provided.
Special thanks to [the x11docker wiki](https://github.com/mviereck/x11docker/wiki)!
## Note on X11
If `--X11` is enabled, run the folowing to allow connections
```bash
xhost +SI:localuser:$USER
```