无法在 lubuntu 上启动 docker - "cannot start container: exec format error"

Cannot start docker on lubuntu - "cannot start container: exec format error"

我 运行 sudo apt-get install docker.io 在我的 lubuntu 14.10 中,但是它说 cannot start container 当我 运行 这个:

sudo docker run ubuntu echo "Hello World"

exec format error2015/03/16 16:31:16 Error response from daemon: Cannot start container ad265ac9c2635f42e4244472d181a2121ecba4d855fa33c10599d91aa932d2cd: exec format error

找不到答案,客人可能与lubuntu有关。

容器创建完成,为什么我只得到"exec format error"

sudo docker ps -a

e92e43115003        ubuntu:14.04        "/bin/echo 'Hello wo   About an hour ago    sharp_hoover   

uname -a
Linux ubuntu 3.16.0-31-generic #43-Ubuntu SMP Tue Mar 10 17:41:23 UTC 2015 i686 i686 i686 GNU/Linux

您运行正在使用 32 位主机,Docker 在很大程度上不支持该主机。您肯定无法 运行 64 位图像,例如股票 ubuntu。

但是您可以尝试一些 32 位图像,例如:https://registry.hub.docker.com/u/32bit/debian/

您可以在此处找到更多信息https://github.com/docker/docker/issues/7513