I’m using SaiedKazemi’s code ( https://github.com/SaiedKazemi/docker/releases ) for checkpointing and restoring a container. It works fine. How do I move a checkpointed container to a new machine?
I tried copying the state of the checkpointed container from /var/lib/docker/containers/<containerid> to the same location on target machine. Then I gave “docker restore <containerid>” on target machine. As expected, I get:
Error response from daemon: no such id: <containerid>
How do I solve this?. How to make the target docker daemon recognize/enroll the id of the migrated container?
Any help in the direction will help.