1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00
svtplay-dl/docs/README.docker.md
2019-01-04 23:43:49 +01:00

23 lines
481 B
Markdown

# svtplay-dl
container version of the script.
# usage
```sh
docker run -it --rm -u $(id -u):$(id -g) -v "$(pwd):/data" spaam/svtplay-dl <args>
```
or create an alias:
##### bash (~/.bashrc)
```
alias svtplay-dl='docker run -it --rm -u $(id -u):$(id -g) -v "$(pwd):/data" spaam/svtplay-dl'
```
##### zsh (~/.zshrc)
```
alias svtplay-dl='docker run -it --rm -u $(id -u):$(id -g) -v "$(pwd):/data" spaam/svtplay-dl'
```
# build example
```sh
docker build -t svtplay-dl .
```