Usage $ docker run --rm -ti --privileged -v `pwd`:/workdir pishrink bash In container $ run.sh <Your Image>