I am trying to take a docker container from one machine and run it on another and encountering this error: "Error response from daemon: No command specified".
Below is a simplified example showing the problem:
docker --version
Docker version 1.10.1, build 9e83765
docker pull ubuntu
docker run --name u1 -dit ubuntu:latest
docker export -o exported u1
docker stop u1
docker rm u1
docker import exported ubuntu:imported
docker run --name u1 -dit ubuntu:imported
docker: Error response from daemon: No command specified.
In that example, we first pull an image (ubuntu) and successfully create/run container u1 from it. Then we export that container to a file (exported), stop/remove the container, import the file into a new image (ubuntu:imported) and try to run a new container from it. It fails.

docker inspect imagename:tagnamecomparing the original and that imported. I had no luck withimport/exportand--change, though everything works fine withsave/load. – earcam Mar 18 '19 at 02:50docker container inspect <container> | ConvertFrom-Json | Select -expand Config | Select Cmd. Under Bash (probably sthg like) :docker container inspect <container> | jq ".Config.Cmd". – nvidot Jan 10 '21 at 20:59