System dependencies to run the docker image

In order to run the docker image, you only need docker installed on your machine. The docker image is known to work on MacOS (Intel and Silicon), any Linux, and Windows in the WSL Linux Environment

Please follow this tutorial to install docker depending on your OS : https://docs.docker.com/engine/install/

Get the orfeotoolbox docker image

docker pull orfeotoolbox/otb:latest

Get an example image

curl https://www.orfeo-toolbox.org/packages/examples/phr_xs.tif -o /home/user/Data/phr_xs.tif

Apply your first BandMath processing

docker run -it -v /home/user/Data:/Data orfeotoolbox/otb:latest otbcli_BandMath –il /Data/phr_xs.tif –out ndvi.tif –exp “(im1b4-im1b1)/ (im1b4+im1b1)
Important Note:

If you are on MacOS, there is a trick to use the docker image due to the ARM architecture, it is described in the README of the official docker hub image page