This is a simple docker container to create a disk image from a remote Raspberry Pi
docker run [-it] --privileged --rm -v <target_dir>:<output_dir> mikenorgate/pi-snapshot pi_address output_file
--privileged is required to allow mounting a loop device