Running docker image in command line: running into errors after copy+pasting code

I’m trying to run the OpenDroneMap docker image on my MacBook Pro Sierra. I have the image created, however, when I try to run the container I’m running into errors. I’m copying and pasting code from the file so I don’t understand what the error is. Is there something wrong with the following code?

docker run -it --rm -v $(pwd)/images:/code/images v $(pwd)/odm_orthophoto:/code/odm_orthophoto -v $(pwd)/odm_texturing:/code/odm_texturing my_odm_image

It returns “Unable to find image ‘v:latest’ locally
docker: Error response from daemon: repository v not found: does not exist or no pull access.
See ‘docker run –help’.”

  • How to link internal port to outside port in docker?
  • Q: how to set docker0 interface as externally available IP in a gcloud compute instance?
  • Using command output as environment variable value?
  • Connecting to remote activemq instance running on docker container
  • What is the authoritative list of Docker Run exit codes?
  • GitLab CI build stuck on pending
  • I’ve tried modified the command trying to guess at what could be wrong but I’m not familiar enough with command line to figure it out.

  • Passenger Still Runs in Production Despite Everything Seeming to Be Correct?
  • Remote debugging path mapping
  • Windows docker image build hangs on creating a directory
  • How to prevent docker images on docker hub being overwritten
  • Docker: Are you trying to connect to a TLS-enabled daemon without TLS?
  • Gitlab CI - Use docker image offline
  • One Solution collect form web for “Running docker image in command line: running into errors after copy+pasting code”

    As written in the comment by @user2105103, there is a typo in your docker run command (e.g. the -v flag is missing the dash at v $(pwd)/odm_orthophoto:/code/odm_orthophoto).

    Corrected version is:

    docker run -it --rm -v $(pwd)/images:/code/images -v $(pwd)/odm_orthophoto:/code/odm_orthophoto -v $(pwd)/odm_texturing:/code/odm_texturing my_odm_image

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.