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-PiShrink
and open this folder in your terminal. - Execute
docker.sh
and 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.