Docker Community Forums

Share and learn in the Docker community.

Migrating to other machine fails

Hi, i would like to migrate a docker container to another identical hardware. (failover)
i am a non pro in this topic.
what i have done, is this.

docker export NAME | gzip > NAME.gz
scp to other host
zcat NAME.gz | docker import - NAME

when i try:
docker run -i -t NAME /bin/bash
i get this error:
docker: Error response from daemon: devmapper: Unknown device da5a6b93b7dc10aef711a2b5684d7e959394e20345b51896c73ee17708ee7e43.

how can i solve this problem?
the other thing is, that docker obviously has exported the image but not the container.

is there an easy way to migrate the whole container to other machines?