Terminal based YouTube player and downloader
Go to file
Andrey Arapov 3cff589f36 Merge pull request #1 from padajuan/master
Added apt-get clean to slim down the container
2016-09-21 11:55:09 +02:00
docker-compose.yml add default path for saving videos on host 2016-05-29 22:14:13 +02:00
Dockerfile Added apt-get clean to slim down the container 2016-09-21 10:25:07 +02:00
Dockerfile.alpineKO first commit 2016-04-30 14:56:38 +02:00
LICENSE Initial commit 2016-04-30 12:52:41 +00:00
README.md update README 2016-05-20 11:21:54 +02:00

mps-youtube in Docker

Running mps-youtube in Docker

Launching mps-youtube

with Docker Compose

docker-compose run --rm mps-youtube

Place the following alias to your ~/.bash_aliases file

alias docker="sudo -E docker"
alias docker-compose="sudo -E docker-compose"

function docker_helper_fg() { { pushd ~/docker/$1; docker-compose rm -fa "$1"; docker-compose run --name "$1" "$@"; popd; } }
function mps-youtube() { { docker_helper_fg $FUNCNAME $@; } }

with Docker

docker run --rm -ti \
           --read-only=true \
           -v $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse:ro \
           -e PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native \
           andrey01/mps-youtube