From a62e8ea76aa32b647c778d2251e3d2b850fea543 Mon Sep 17 00:00:00 2001 From: Nick Cox Date: Tue, 13 Oct 2015 18:44:01 -0600 Subject: [PATCH] Run the image as the current user This will make the downloaded files be saved as the current user instead of root :-) --- youtube/youtube-dl/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube/youtube-dl/README.md b/youtube/youtube-dl/README.md index 46f2681..8257251 100644 --- a/youtube/youtube-dl/README.md +++ b/youtube/youtube-dl/README.md @@ -8,7 +8,7 @@ youtube-dl ``` # create a alias -$ alias yt='docker run --rm -v `pwd`:/data vimagick/youtube-dl' +$ alias yt='docker run --rm -u $(id -u):$(id -g) -v `pwd`:/data vimagick/youtube-dl' # list all formats $ yt -F nVjsGKrE6E8