Skip to content

Instantly share code, notes, and snippets.

@JavanXD
Created January 27, 2020 18:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save JavanXD/41384c28d5f7543649f88d7ce8e4d9c0 to your computer and use it in GitHub Desktop.
Shrink Raspbian images with MacOS

Shrink Raspbian images with MacOS

  1. Use ApplePi-Baker v2 to create backup.img
  2. Start Docker Daemon
  3. Run
    	docker run --rm --privileged=true -v `pwd`:/workdir turee/pishrink-docker pishrink backup.img
    
    in same folder as backup.img 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment