How to copy /var/lib/docker with overlayfs directory structure with data *as-is* without increasing the storage space
问题 I have a docker installation with several images and about 150Gigs of data in /var/lib/docker . This setup uses overlayfs as its storage driver. There are several directories for each layer under /var/lib/docker/overlay holding the actual data. The partition size is 160G. My requirement is to copy the the docker directory from /var/lib/docker to a new disk of 1TB, so that I point docker to start from this new partition and continue to use my old images. Now the problem is, when I use an rsync