Migrating docker installation to another server, keep overlay data

Hello,

I am trying to migrate an existing docker installation to a new server.
I created a tar file from /var/lib/docker from the old host and unpacked the tar folder on the new host in /var/lib/docker.

It seems most space is utilized by the next folders:
/var/lib/docker/containers
/var/lib/docker/overlay2
/var/lib/docker/volumes

When starting the docker service on the new host i can start my old containers. BUT they do not contain any data. Is it possible to somehow get my old containers running on the new hosts and keeping their data persistent.

Once running on the new server i can create new containers and start using persistent volumes.

Thanks for your help guys :slight_smile: