# Docker image with OTB 7.2.0 and python

**URL:** <https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882>\
**Category:** OTB Usage\
**Created:** [December 2, 2020, 6:28pm UTC](https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882 "2020-12-02T18:28:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabricebrito](https://forum.orfeo-toolbox.org/user_avatar/forum.orfeo-toolbox.org/fabricebrito/32/107_2.png) [@fabricebrito](https://forum.orfeo-toolbox.org/u/fabricebrito)\
**Post date:** [December 2, 2020, 6:28pm UTC](https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882/1 "2020-12-02T18:28:15Z")

</div>

Hello!

Just to inform you that there’s a new docker image with OTB 7.2.0 and python 3.7 here: [https://github.com/Terradue/docker-orfeotoolbox](https://github.com/Terradue/docker-orfeotoolbox)

Feel free to provide feedback or comments

Fabrice

---

<div class="post-metadata">

**Author:** ![ymoisan](https://forum.orfeo-toolbox.org/user_avatar/forum.orfeo-toolbox.org/ymoisan/32/432_2.png) [@ymoisan](https://forum.orfeo-toolbox.org/u/ymoisan)\
**Post date:** [March 18, 2021, 9:21pm UTC](https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882/2 "2021-03-18T21:21:31Z")

</div>

Hi,

Is there any way I can launch an otbcli command, e.g. otbcli\_ReadImageInfo -in /home/image.tif, as a “one off” processing thing like docker run --rm ? If so where would I map my volume in the container ?

Thank you!

P.S. Orfeo images in DockerHub are very old.

---

<div class="post-metadata">

**Author:** ![fabricebrito](https://forum.orfeo-toolbox.org/user_avatar/forum.orfeo-toolbox.org/fabricebrito/32/107_2.png) [@fabricebrito](https://forum.orfeo-toolbox.org/u/fabricebrito)\
**Post date:** [March 22, 2021, 10:48am UTC](https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882/3 "2021-03-22T10:48:45Z")

</div>

Hello!

Sorry for the latency. I’d do something like:

```
docker run --rm -it -v $PWD:/data terradue/otb-7.2.0:latest otbcli_ReadImageInfo -in /data/swir22.tif
2021-03-22 10:47:08 (INFO) ReadImageInfo: Default RAM limit for OTB is 256 MB
2021-03-22 10:47:08 (INFO) ReadImageInfo: GDAL maximum cache size is 789 MB
2021-03-22 10:47:08 (INFO) ReadImageInfo: OTB will use at most 16 threads
2021-03-22 10:47:08 (INFO) ReadImageInfo: 
Image general information:
	Number of bands : 1
	Data type : short
	No data flags : Not found
	Start index : [0,0]
	Size : [7691,7831]
	Origin : [420300,4.2645e+06]
	Spacing : [30,-30]
	Estimated ground spacing (in meters): [29.9421,30.0683]

```

I hope this helps

I’ve updated the README accordingly

Fabrice

---

<div class="post-metadata">

**Author:** ![arijeannin](https://forum.orfeo-toolbox.org/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@arijeannin](https://forum.orfeo-toolbox.org/u/arijeannin)\
**Post date:** [June 2, 2021, 2:29pm UTC](https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882/4 "2021-06-02T14:29:17Z")

</div>

Hi fabricebrito,

Sorry for not taking time to check this, but is there also the module [DiapOTB](https://www.orfeo-toolbox.org/diapotb-remote-module-available/) on it ?

Thanks,  
Ari

---

<div class="post-metadata">

**Author:** ![fabricebrito](https://forum.orfeo-toolbox.org/user_avatar/forum.orfeo-toolbox.org/fabricebrito/32/107_2.png) [@fabricebrito](https://forum.orfeo-toolbox.org/u/fabricebrito)\
**Post date:** [June 9, 2021, 8:57pm UTC](https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882/5 "2021-06-09T20:57:41Z")

</div>

Hello Ari,

No but I can try to update the image and let you know. I’ll ping back

---

<div class="post-metadata">

**Author:** ![fabricebrito](https://forum.orfeo-toolbox.org/user_avatar/forum.orfeo-toolbox.org/fabricebrito/32/107_2.png) [@fabricebrito](https://forum.orfeo-toolbox.org/u/fabricebrito)\
**Post date:** [June 10, 2021, 7:41am UTC](https://forum.orfeo-toolbox.org/t/docker-image-with-otb-7-2-0-and-python/882/6 "2021-06-10T07:41:07Z")

</div>

The apps below are available:

```
$ docker run --rm -it otb-7.2.0 bash
[jovyan@22a7c28d0237 ~]$ otbcli_SAR
otbcli_SARAddBandInterferogram otbcli_SARConcatenateBursts otbcli_SARDEMGrid otbcli_SARFineMetadata otbcli_SARPhaseFiltering
otbcli_SARAltAmbig otbcli_SARCoRegistration otbcli_SARDEMProjection otbcli_SARGridOffset otbcli_SARPolarMatrixConvert
otbcli_SARAmplitudeEstimation otbcli_SARCorrectionGrid otbcli_SARDEMToAmplitude otbcli_SARGridStatistics otbcli_SARPolarSynth
otbcli_SARBurstExtraction otbcli_SARCorrelationGrid otbcli_SARDeramp otbcli_SARInterferogram otbcli_SARRobustInterferogram
otbcli_SARCalibration otbcli_SARCorrelationRough otbcli_SARDoppler0 otbcli_SARMetadataCorrection otbcli_SARTopographicPhase
otbcli_SARCartesianMeanEstimation otbcli_SARDeburst otbcli_SARESD otbcli_SARMultiLook                
otbcli_SARCompensatedComplex otbcli_SARDecompositions otbcli_SARFineDeformationGrid otbcli_SAROrthoInterferogram       
[jovyan@22a7c28d0237 ~]$ 

```

@arijeannin Is this what you’re looking for?
