LinuxCommandLibrary

pw-container

Run apps in isolated PipeWire security contexts

TLDR

Create a new security context and print its socket address

$ pw-container
copy
Run a program within a new security context
$ pw-container command arg1 arg2
copy
Run connecting to a specific remote PipeWire instance
$ pw-container -r remote_instance command
copy
Run with specific properties using JSON
$ pw-container -P '{"key": "value"}' command
copy
Display help
$ pw-container -h
copy

SYNOPSIS

pw-container [options] [command] [arguments...]

DESCRIPTION

pw-container runs a program in a new security context within PipeWire. It creates isolated environments for applications to access PipeWire with specific permissions and properties.
This is useful for sandboxing applications or running programs with restricted PipeWire access.

PARAMETERS

-r, --remote name

Connect to specific remote PipeWire instance
-P, --properties json
Set context properties using JSON object
-h, --help
Display help message

CAVEATS

Security contexts must be supported by the PipeWire configuration. Properties must be valid JSON format.

HISTORY

Part of PipeWire, the modern multimedia framework for Linux. Provides application isolation capabilities for audio and video access control.

SEE ALSO

pipewire(1), pw-cli(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community