docker pull terradue/otb-7.2.0
Run a container:
docker run --rm -it terradue/otb-7.2.0:latest bash
Bash console
docker run --rm -it otb-7.2.0:latest bash
OTB cli applications are available in PATH.
Python
docker run --rm -it otb-7.2.0:latest bash
then
python
import otbApplication
import gdal
Launch the docker image with a mounted volume pointing to the current folder:
docker run --rm -it -v $PWD:/data terradue/otb-7.2.0:latest otbcli_ReadImageInfo -in /data/swir22.tif
conda install -n env_otb <some package>
Clone this repo and:
docker build -f .docker/Dockerfile -t otb-7.2.0