Dockerized gpio library for for Raspberry Pi
docker run --privileged dschowta/gpiopy <python file>
For example run the example file
docker run --privileged -v $(pwd):/home/example dschowta/gpiopy /home/example/motionsensor_Example.py
docker build -t gpiopy .