Docker export import


i want to export a running docker container and import on a other host.
the base image should be the same on both hosts.

after export a container the make a new image instead of an cloned container or some else.
next if i import on other host, i cant run the image because the metadata are missing
Error response from daemon: No command specified

also no success with save and load - the mysql data are lost.

please help

This one took me by surprise as well. I was expecting Docker export to at least use OCI metadata in order to conserve what was defined in its Dockerfile. The question opening this thread was made in 2015. We will appreciate if someone from Docker can shed some light on this.