Dockerized Adafruit Python DHT Sensor Library for Raspberry Pi
docker run --privileged farshidtz/adafruit_dht [11|22|2302] GPIOpin#
For example to read from a DHT22 attached to GPIO4:
docker run --privileged farshidtz/adafruit_dht 22 4
docker build -t my_dht .