Skip to content

Commit

Permalink
How to mount directory using relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
Stadly committed Oct 4, 2020
1 parent 414e8a6 commit b14e2f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ In the following example, the local directory `/path/to/photos` is mounted to `/
docker run -v /path/to/photos:/photos timeline-extract -c cookie photo /photos/my-image.jpg /photos/more-photos
```

If you want to mount a directory using a relative path, you can use `$(pwd)` denote the current working directory:

``` bash
docker run -v "$(pwd):/photos" timeline-extract -c cookie photo /photos
```

## Change log

Please see [CHANGELOG](CHANGELOG.md) for information on what has changed recently.
Expand Down

0 comments on commit b14e2f1

Please sign in to comment.