1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

Run the image as the current user

This will make the downloaded files be saved as the current user instead of root :-)
This commit is contained in:
Nick Cox 2015-10-13 18:44:01 -06:00
parent acbde35503
commit a62e8ea76a

@ -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