My MacBook crashes after a while copying files using rsync. It’s been 5 more times already and I was about to give up. Until I got an idea using docker.

So I tried:

rsync -vaP ~/source /Volume/destination/HD

Straightforward stuff, but my Mac crashes.

So I use docker instead.

docker run --rm -v ~/source:/source -v /Volume/destination/HD:/destination -it alpine sh
Terminal

Then in Alpine installing rsync is a breeze.

apk add rsync

rsync -vaP /source /destination
Docker Alpine Shell