Basic docker run command for ODM doesn't work

I have hundreds of jpgs in the the directory ./images. I run the docker command from the readme file:

(base) adamjson@Adams-MacBook-Pro OpenDroneMap % docker run -it --rm -v "$(pwd)/images:/code/images" -v "$(pwd)/odm_orthophoto:/code/odm_orthophoto"  opendronemap/odm 
[ERROR]   You need to set the project path in the settings.yaml file before you can run ODM, or use `--project-path <path>`. Run `python run.py --help` for more information. 
(base) adamjson@Adams-MacBook-Pro OpenDroneMap % 

Can someone help me out? Setting the project-path flag results in more output but I still run into trouble (and according to the documentation the original command should work).

I figured it out. You need to explicitly specify --project-path=/ at the end of the docker run command.

2 Likes