Is there a way to merge the images from two /var/lib/docker's?

Sorry, not sure what the proper name is for /var/lib/docker… “local repository” maybe?

Anyway… suppose I have the /var/lib/docker’s from two separate installations of Docker (neither currently running). Is there any way to cleanly copy the images from one of them into the other? Clearly its possible to docker images on one installation then pull all of those on the second (assuming they’re public, which they are), but I’m looking to do this just by copying files. Is it possible?