Docker-Image to shrink your Pi-Image in Docker without VirtualBox.
git clone https://github.com/y4roc/Docker-PiShrink
cd Docker-PiShrink- Start the Docker-Service.
- Copy your Image in folder Docker-PiShrinkand open this folder in your terminal.
- Execute docker.shand wait a little bit.
- Start pishrink <./myImage.img>and your image will be much smaller.
- Exit the docker container.
It tested with MacOS X 10.13.6, Docker for Mac 18.03.1-ce and Compose 1.21.1.