Saving docker images to a file