For use with Home Assistant Assist, add the Wyoming integration and supply the hostname/IP and port that piper is running add-on.”
For more information see the wyoming piper docs,

Piper is a fast, local neural text to speech system that sounds great and is optimized for the Raspberry Pi 4. This container provides a Wyoming protocol server for Piper.
Pick the optional settings and mods you want, set your paths, ports and values, then copy the result.
---
services:
piper:
image: ghcr.io/linuxserver-playground/piper:latest
container_name: piper
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PIPER_VOICE=en_US-lessac-medium
volumes:
- /path/to/piper/data:/config
ports:
- 10200:10200
restart: unless-stoppedRequired settings only. Tick optional settings and mods to add them.
/path/to folders with real folders on your host; they are created if missing.| Tag | Latest build | Built | Tests |
|---|---|---|---|
:latestStable releasesbranch main · stable | 2.5.4-ls15amd64 · arm64 | passed |
Pulling :latest picks the right one for your host automatically.
amd64-latestarm64v8-latestghcr.io/linuxserver-playground/piper:2.5.4-ls15
Live branches, their latest release, upstream version and next scheduled check.
live branchesloading…
| Branch → tag | Last build | Released | Upstream | Drift | Next check | Flags |
|---|---|---|---|---|---|---|
| main → :latest | success | 2.5.4 | ? unknown | – | – |
For use with Home Assistant Assist, add the Wyoming integration and supply the hostname/IP and port that piper is running add-on.”
For more information see the wyoming piper docs,
| Port | Function | Required |
|---|---|---|
| 10200:10200 | Wyoming connection port. | required |
| Variable | Function | Required |
|---|---|---|
| PUID=1000 | User ID | required |
| PGID=1000 | Group ID | required |
| TZ=Etc/UTC | Timezone | required |
| PIPER_VOICE=en_US-lessac-medium | The Piper voice (opens in a new tab) to use, in the format <language>-<name>-<quality> | required |
| LOCAL_ONLY= | If set to true, or any other value, the container will not attempt to download models from HuggingFace and will only use locally-provided models. | optional |
| PIPER_LENGTH=1.0 | Voice speaking rate, 1.0 is default with < 1.0 being faster and > 1.0 being slower. | optional |
| PIPER_NOISE=0.667 | Controls the variability of the voice by adding noise. Values above 1 will start to degrade audio. | optional |
| PIPER_NOISEW=0.333 | Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses. | optional |
| PIPER_SPEAKER=0 | Speaker number to use if the voice supports multiple speakers. | optional |
| NO_STREAMING= | Setting to true, or any other value, will disable support for streaming audio on sentence boundaries. | optional |
| Path | Function | Required |
|---|---|---|
| /config | Local path for piper config files. | required |
This image can be run with a read-only container filesystem. For details please read the docs.
You can set any environment variable from a file by using a special prepend FILE__.
As an example:
-e FILE__MYVAR=/run/secrets/mysecretvariable
Will set the environment variable MYVAR based on the contents of the /run/secrets/mysecretvariable file.
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting.
Keep in mind umask is not chmod it subtracts from permissions based on it’s value it does not add. Please read up here before asking for support.
When using volumes (-v flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
In this instance PUID=1000 and PGID=1000, to find yours use id your_user as below:
id your_user
Example output:
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the Application Setup section above to see if it is recommended for the image.
Below are the instructions for updating containers:
Update images:
All images:
docker-compose pull
Single image:
docker-compose pull piper
Update containers:
All containers:
docker-compose up -d
Single container:
docker-compose up -d piper
You can also remove the old dangling images:
docker image prune
Update the image:
docker pull ghcr.io/linuxserver-playground/piper:latest
Stop the running container:
docker stop piper
Delete the container:
docker rm piper
Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your /config folder and settings will be preserved)
You can also remove the old dangling images:
docker image prune
We recommend Diun for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
If you want to make local modifications to these images for development purposes or just to customize the logic:
git clone https://github.com/linuxserver-playground/docker-piper.git
cd docker-piper
docker build \
--no-cache \
--pull \
-t ghcr.io/linuxserver-playground/piper:latest .
The ARM variants can be built on x86_64 hardware and vice versa using ghcr.io/linuxserver/qemu-static
docker run --rm --privileged ghcr.io/linuxserver/qemu-static --reset
Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.
Every push builds and tests the image with the shared workflow in linuxserver-playground/workflows; every build’s tests, screenshots and package changes are on the image’s builds on the website.
The newest five builds per branch, each with its CI report; 10 older releases are on GitHub, listed below.
| Tag | Built | Reason | Change | Result | Size |
|---|---|---|---|---|---|
| 2.5.4-ls15main · f944173c | weekly package check | base | success | 161 MB amd64157 MB arm64 | |
| 2.5.4-ls14main · eee94d07 | weekly package check | packages | success | 170 MB amd64165 MB arm64 | |
| 2.5.4-ls13main · 044b717b | weekly package check | packages | success | 170 MB amd64165 MB arm64 | |
| 2.5.4-ls12main · 32f8031d | upstream check | mixed | success | 170 MB amd64165 MB arm64 | |
| 2.5.3-ls11main · 55d1b698 | weekly package check | base | success | 170 MB amd64165 MB arm64 |
Add a mod with DOCKER_MODS=<image>; separate several with |.
No mod targets piper specifically; the 13 universal mods work with every image.
Rebase to Ubuntu Resolute.
Add support for local only mode.
Add streaming support.
Rebase to Ubuntu Noble.
Initial Release.
Questions about running piper? Start with the documentation and the community; open an issue for bugs.
Shell access whilst the container is running:
docker exec -it piper /bin/bash
To monitor the logs of the container in realtime:
docker logs -f piper
Container version number:
docker inspect -f '{{ index .Config.Labels "build_version" }}' piper
Image version number:
docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver-playground/piper:latest
Community project
This image is kept up by volunteers, and you can be one of them. You don't need to know how the pipeline works: point an AI agent at the harness and describe what you want. It reproduces the problem in your Docker, tests the change and drafts the pull request for you to check.
Ask your agent
Contributing an image Every way to help Get the harness (opens in a new tab)
Related
v3.9.1-ls13
Faster-whisper is a reimplementation of OpenAI's Whisper model using CTranslate2, which is a fast inference engine for Transformer models. This container provides a Wyoming protocol server for faster-whisper.