opendronemap/opendronemap on docker is deprecated. opendronemap/odm is the correct image

master
Alan McConchie 2020-01-20 16:31:42 -05:00
rodzic 2e583c3d78
commit cc32e697c4
1 zmienionych plików z 3 dodań i 3 usunięć

@ -6,10 +6,10 @@ There are two ways to run ODM through Docker. One pulls the image from the Docke
This method is the fastest and most fool-proof method for running OpenDroneMap. You only need to run one command:
```
docker run -it --rm -v "$(pwd)/images:/code/images" -v "$(pwd)/odm_orthophoto:/code/odm_orthophoto" -v "$(pwd)/odm_georeferencing:/code/odm_georeferencing" opendronemap/opendronemap --mesh-size 100000
docker run -it --rm -v "$(pwd)/images:/code/images" -v "$(pwd)/odm_orthophoto:/code/odm_orthophoto" -v "$(pwd)/odm_georeferencing:/code/odm_georeferencing" opendronemap/odm --mesh-size 100000
```
This will pull an ODM docker image [from the hub](https://hub.docker.com/r/opendronemap/opendronemap/) and run through it. Let's break down each part.
This will pull an ODM docker image [from the hub](https://hub.docker.com/r/opendronemap/odm/) and run through it. Let's break down each part.
```
docker run -it --rm
@ -21,7 +21,7 @@ docker run -it --rm
```
Here we are connecting 3 volumes. The path before the colon is the local, or host, path, and after the colon is the container path. Do not change the container path. `$(pwd)/images` is your input directory. and can be any **absolute** path. In our example, we use `$(pwd)` as shorthand for the absolute path to the current working directory. You can specify `-v <path>:<path>` any number of times. When ODM is done running, you can find the ODM products in `$(pwd)/odm_georeferencing` or whatever volume you mount.
```
opendronemap/opendronemap
opendronemap/odm
```
This is the tag that docker will use to find the OpenDroneMap image. If it is not found locally (i.e. it's your first time running) then it will look on Docker Hub and pull the image.
```