mirror of
https://github.com/vimagick/dockerfiles
synced 2024-07-01 03:01:29 +00:00
Merge pull request #7 from knickers/patch-1
Run the youtube-dl image as the current user
This commit is contained in:
commit
70ad875af2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user