Skip to content

Instantly share code, notes, and snippets.

@clickfreak
Created July 6, 2025 17:30
Show Gist options
  • Select an option

  • Save clickfreak/651a8c9b3a8d4ed256e38ef4d993ec36 to your computer and use it in GitHub Desktop.

Select an option

Save clickfreak/651a8c9b3a8d4ed256e38ef4d993ec36 to your computer and use it in GitHub Desktop.
ledfx on fedora 42 inside the podman containtainer
mkdir -p ~/labdir/ledfx
$ podman run -d --name ledfx \
    --network host \
    --security-opt label=type:container_runtime_t \
    --env PULSECLIENTMODE=1 \
    -v ~/labdir/ledfx/config:/home/ledfx/ledfx-config:Z \
    -v $XDG_RUNTIME_DIR/pulse/native:/home/ledfx/.config/pulse/pulseaudio.socket:ro,Z \
    -v ~/.config/pulse/cookie:/home/ledfx/.config/pulse/cookie:ro,Z \
    ghcr.io/ledfx/ledfx:latest --offline

--security-opt label=type:container_runtime_t allows to the container to connect ti the host sockets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment