← Back to Skills Marketplace
silverod

Container Gaming — Podman, Distrobox, Flatpak, Sunshine

by 13 · GitHub ↗ · v1.0.0 · MIT-0
linux ⚠ suspicious
72
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install container-gaming
Description
Container-based gaming setup on Linux — Podman, Distrobox, Flatpak gaming, Wine/Proton containers, Sunshine streaming
README (SKILL.md)

Container Gaming Manager

Manage container-based gaming on Linux — Podman, Distrobox, Flatpak gaming, Wine/Proton, and game streaming with Sunshine.

When to Use

  • Setting up gaming in containers (Podman/Distrobox)
  • Managing Flatpak game installations
  • Wine/Proton configuration and troubleshooting
  • Sunshine/Moonlight streaming setup
  • Lutris runner management
  • Game compatibility and performance issues

Container Gaming Overview

┌─────────────────────────────────────┐
│        Sunshine (Streaming)         │
├─────────────────────────────────────┤
│  Gamescope (Compositor)              │
├──────┬──────┬───────────┬───────────┤
│Steam │Flatpak│ Lutris   │ Bottles   │
├──────┴──────┴───────────┴───────────┤
│  Proton / Wine / Native              │
├─────────────────────────────────────┤
│  Podman / Distrobox / Toolbox        │
├─────────────────────────────────────┤
│  Bazzite / Fedora Atomic             │
└─────────────────────────────────────┘

Commands Reference

Podman Gaming

# List gaming containers
podman ps -a --filter name=game

# Run a Windows game in Wine container
podman run --rm -it \
  --device /dev/dri \
  -e DISPLAY=:0 \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -v ~/Games:/games \
  docker.io/bottles:latest

# Pull common gaming images
podman pull docker.io/library/ubuntu:latest
podman pull docker.io/bottleshq/bottles:latest

Distrobox (Windows-like gaming in containers)

# Install Distrobox
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo sh

# Create gaming container (Ubuntu)
distrobox create --name gaming-ubuntu --image ubuntu:latest

# Enter container
distrobox enter gaming-ubuntu

# Install gaming tools inside container
sudo apt install wine lutris steam

# Export Steam to host
distrobox export --app steam --extra-flags "gamescope -W 1280 -H 800 -f"

# List containers
distrobox list

# Remove container
distrobox rm gaming-ubuntu

Toolbox (Fedora-native)

# Create gaming toolbox
toolbox create -c gaming

# Enter
toolbox enter gaming

# Install tools
sudo dnf install steam lutris wine

Flatpak Gaming

# Popular gaming Flatpaks
flatpak install flathub com.valvesoftware.Steam
flatpak install flathub net.lutris.Lutris
flatpak install flathub com.usebottles.bottles
flatpak install flathub org.prismlauncher.PrismLauncher
flatpak install flathub com.heroicgameslauncher.hgl
flatpak install flathub io.github.Foldex.Exodus
flatpak install flathub com.obsproject.Studio

# Update gaming Flatpaks
flatpak update com.valvesoftware.Steam net.lutris.Lutris com.usebottles.bottles

# Check runtime versions
flatpak info --runtime com.valvesoftware.Steam

# Override permissions for game
flatpak override --user --device=dri com.valvesoftware.Steam
flatpak override --user --socket=wayland com.valvesoftware.Steam

Bottles (Wine Manager)

# Install Bottles
flatpak install flathub com.usebottles.bottles

# Bottles config directory
ls ~/.local/share/bottles/

# Create custom bottle
# (Done through Bottles GUI — usually at ~/.local/share/bottles/bottles/)

Proton / Wine

# Installed Proton versions
ls ~/.steam/root/compatibilitytools.d/
ls ~/.local/share/Steam/compatibilitytools.d/

# Proton logs
cat ~/.steam/root/logs/proton* 2>/dev/null | tail -30

# Protontricks (install Windows deps for games)
protontricks \x3Cappid> corefonts d3dcompiler_47 dxvk
protontricks --list-apps 2>/dev/null | head -20

# Wine version check
wine --version 2>/dev/null

Lutris

# Lutris version
lutris --version

# List installed games
lutris --list-games

# Lutris runners
ls ~/.local/share/lutris/runners/
ls ~/.local/share/lutris/runners/wine/

# Install Lutris runner
lutris --list-runners | grep -i wine

# Lutris config
cat ~/.config/lutris/lutris.conf 2>/dev/null

Heroic Games Launcher (Epic/GOG)

# Install
flatpak install flathub com.heroicgameslauncher.hgl

# Heroic config
ls ~/.config/heroic/ 2>/dev/null
ls ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/ 2>/dev/null

Sunshine (Game Streaming)

# Install Sunshine
flatpak install flathub dev.lizardbyte.app.Sunshine

# Sunshine config location
cat ~/.config/sunshine/config.conf 2>/dev/null
cat ~/.config/sunshine/apps.json 2>/dev/null

# Start Sunshine
systemctl --user start sunshine 2>/dev/null

# Sunshine logs
journalctl --user -u sunshine --since "1 hour ago" 2>/dev/null | tail -20

# Check port
ss -tlnp | grep -E '47989|47990|48010'

# Web UI
# http://localhost:47990

# Tailscale (expose to remote)
tailscale serve --bg 47989 2>/dev/null
tailscale serve --bg 47990 2>/dev/null

MangoHud (Performance Overlay)

# Enable MangoHud globally
export MANGOHUD=1

# Per-game config
mkdir -p ~/.config/MangoHud
cat > ~/.config/MangoHud/game-name.conf \x3C\x3C 'EOF'
full
fps
cpu_temp
gpu_temp
vram
ram
frame_timing
EOF

# Gamescope + MangoHud
gamescope -W 1280 -H 800 -f -- mangohud %command%

vkBasalt (Post-processing)

# Enable
export VKBASALT_ENABLE=1

# Config
cat ~/.config/vkBasalt/vkBasalt.conf 2>/dev/null

# Effects: cas (sharpen), fxaa, smaa, dls

Common Tasks

Set up a new game via Flatpak

flatpak search "game name"
flatpak install flathub \x3Capp-id>
flatpak override --user --device=dri --socket=wayland \x3Capp-id>

Fix game performance issues

  1. Enable MangoHud: MANGOHUD=1 %command%
  2. Check GPU freq: cat /sys/class/drm/card0/device/pp_dpm_sclk
  3. Check thermal: cat /sys/class/thermal/thermal_zone*/temp
  4. Try Proton Experimental: set in Steam > Compatibility
  5. Check VRAM: games with 4GB+ VRAM may struggle on Steam Deck

Stream a game to another device

  1. Install Sunshine (Flatpak)
  2. Configure in Web UI (localhost:47990)
  3. On client: install Moonlight
  4. Connect using Tailscale IP or local IP

Troubleshooting

Problem Fix
Game won't launch Check Proton version, try different runner
Black screen Gamescope res, HDR toggle, Wayland vs X11
Stuttering VRAM, thermal, MangoHud to diagnose
Audio issues systemctl --user restart wireplumber pipewire
Sunshine no video Check GPU access, Sunshine permissions
Flatpak crash flatpak repair, check permissions
Wine missing DLL protontricks \x3Cappid> \x3Cdll_name>
Controller not working Steam Input, evtest, kernel modules
Usage Guidance
This skill appears to do what it says (container-based gaming on Linux), but follow these cautions before running commands from its instructions: 1) Don’t blindly run curl … | sudo sh — instead download the script, inspect it, and run it only if you trust the source (or use your distro’s package manager). 2) Be cautious when exposing Sunshine ports remotely (the tailscale serve examples expose streaming ports); verify you want these ports reachable and that authentication is configured. 3) Podman/docker image pulls and running containers can run untrusted code — prefer official/trusted images and inspect Dockerfiles where possible. 4) Flatpak overrides (device/socket) grant apps hardware/desktop access — apply minimally and understand privacy implications. 5) Run potentially risky commands as an unprivileged user when possible and back up config files before making changes. If you want a higher confidence assessment, provide the exact GitHub repo URLs referenced for installers and the specific container images you plan to pull so those artifacts can be reviewed.
Capability Analysis
Type: OpenClaw Skill Name: container-gaming Version: 1.0.0 The SKILL.md file contains high-risk instructions, most notably a command to download and execute a shell script from a remote URL with root privileges (`curl | sudo sh`) to install Distrobox from raw.githubusercontent.com. It also includes commands to expose local network ports to the internet using `tailscale serve` for game streaming and performs broad Flatpak permission overrides. While these actions are consistent with the stated goal of setting up containerized gaming and remote streaming, the reliance on unverified remote execution and network tunneling tools poses a significant security risk.
Capability Assessment
Purpose & Capability
Name/description (container gaming with Podman, Distrobox, Flatpak, Wine/Proton, Sunshine) align with the declared anyBins (podman, flatpak, distrobox) and the SKILL.md commands (podman pulls, flatpak installs, distrobox usage, Sunshine streaming). No unrelated credentials or surprising capabilities are requested.
Instruction Scope
Instructions stick to setup, troubleshooting, and runtime commands for container gaming (reading configs under ~/.config, Steam/Lutris paths, /sys and /proc sensor reads, journalctl, systemctl). These file reads and commands are appropriate for diagnosing game/performance issues. Note: the SKILL.md also includes commands that expose services (tailscale serve) and uses a curl|sudo sh installer — operationally useful but require careful review by the user.
Install Mechanism
The skill is instruction-only (no install spec), but it recommends running an installer via curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo sh. Piping remote scripts to sh (especially with sudo) is high-risk because arbitrary code from the URL would be executed as root. Other install instructions reference flatpak and podman pulls (expected), but the curl|sh pattern is the primary install-time concern.
Credentials
The skill declares no required environment variables or secrets. It shows examples of exporting runtime flags (MANGOHUD, VKBASALT) and setting DISPLAY in container runs, which are normal for this domain. No unrelated credentials or secret access is requested.
Persistence & Privilege
always:false (default) and no install-time persistence requested. The skill does not request elevated platform privileges or to modify other skills. Note: autonomous invocation is allowed by platform default; that is expected and not by itself a red flag for this skill.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install container-gaming
  3. After installation, invoke the skill by name or use /container-gaming
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of container-gaming: easily manage Linux gaming using containers and streaming tools. - Supports Podman, Distrobox, and Toolbox for gaming container management - Flatpak installation and configuration for major Linux gaming apps - Quick guides for Wine/Proton/Bottles, Lutris, and Heroic Games Launcher - Sunshine streaming setup, troubleshooting, and remote access instructions - Performance tools overview (MangoHud, vkBasalt) and common fixes for gaming issues
Metadata
Slug container-gaming
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Container Gaming — Podman, Distrobox, Flatpak, Sunshine?

Container-based gaming setup on Linux — Podman, Distrobox, Flatpak gaming, Wine/Proton containers, Sunshine streaming. It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.

How do I install Container Gaming — Podman, Distrobox, Flatpak, Sunshine?

Run "/install container-gaming" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Container Gaming — Podman, Distrobox, Flatpak, Sunshine free?

Yes, Container Gaming — Podman, Distrobox, Flatpak, Sunshine is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Container Gaming — Podman, Distrobox, Flatpak, Sunshine support?

Container Gaming — Podman, Distrobox, Flatpak, Sunshine is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux).

Who created Container Gaming — Podman, Distrobox, Flatpak, Sunshine?

It is built and maintained by 13 (@silverod); the current version is v1.0.0.

💬 Comments