Skip to content

neofob/compose-audacity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Audacity in docker-compose setup

Running the latest Audacity in docker container

docker build -t neofob/audacity:latest .
docker run --rm --name audacity \
        -u 1000:1000 \
        -v /tmp/.X11-unix:/tmp/.X11-unix:ro \
        -v "$HOME:$HOME" -w "$HOME" -e DISPLAY="unix$DISPLAY" \
        -e HOME \
        $(find /dev/snd/ -type c | sed 's/^/--device /') \
        neofob/audacity:latest

Run with docker-compose for less typing.

# Enable X access from anyhost, which will be from docker in our case?
xhost +
docker-compose up -d

Alternatively, we can run the Audacity container in network_mode:host

Note: The 1st user id and its group id in Ubuntu/Debian is 1000. You can nerd out to replace -u 1000:1000 with -u $(id -g):$(id -u).

References

About

Just another compose file to run audacity

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published