Skip to content

Docker Documentation run command #133

Description

@clockworkant

This is a small report/request to update the docker documentation. Building the docker file was easy and good, however the final command doesn't really work:

docker run --rm -it -v $(pwd):/videos/ dvr-scan -i *                  
[DVR-Scan] DVR-Scan v1.5.1
[DVR-Scan] Error: Input file does not exist:
  39.40.mp4

Instead I ended up with the following command instead:

docker run --rm -it -v $(pwd):/videos/ dvr-scan -i "/videos/*" -d "/videos/motion"

docker run --rm -it -v $(pwd):/videos/ dvr-scan -i "/videos/*" -d "/videos/motion"
[DVR-Scan] DVR-Scan v1.5.1
[DVR-Scan] Initializing scan context...
[DVR-Scan] Opened video 39.40.mp4 (2688 x 1520 at 25.218 FPS).

So I had to prefix the dir's with the docker containers path (so the remote path of /videos.

I'm not a docker expert but hopefully this helps someone else in the future!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions