Based on the following paper : Link
sudo apt install docker.io
sudo systemctl restart docker.service
sudo docker pull ubuntu:16.04
sudo docker run -v /path/to/hussain/:/hussain -it ubuntu:16.04 /bin/bash
cd hussain/
chmod +x install.sh
chmod +x run.py
./install.sh
./run.py <IMAGE_NAME(JPG or PNG)>
Open a new Terminal
docker ps
sudo docker commit <CONTAINER ID> ubuntu:hussain
sudo docker run -v /path/to/hussain/:/hussain -it ubuntu:hussain /bin/bash