在运行 Ubuntu 14.04 的 Odroid U3 上,我尝试让 Collabora 与 Docker for Nextcloud 一起工作。
Linux Kernel Version 3.8.13
Docker Version 1.6.2, build 7c8fca2
我使用以下方法拉出 Collabora:docker pull collabora/code
当我尝试使用 Collabora 启动 Docker 时,sudo docker run -t -d -p 127.0.0.1:9980:9980 --restart always --cap-add MKNOD collabora/code
会引发以下错误:
FATA[0000] Error response from daemon: Cannot start container 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619: [8] System error: exec format error
我用谷歌搜索了很多,但找不到任何解决方案。码头工人日志文件说:
INFO[3525] POST /v1.18/containers/create
INFO[3525] +job create()
INFO[3525] +job log(create, 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619, collabora/code:latest)
INFO[3525] -job log(create, 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619, collabora/code:latest) = OK (0)
INFO[3525] -job create() = OK (0)
INFO[3525] POST /v1.18/containers/9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619/start
INFO[3525] +job start(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619)
INFO[3525] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers : [nameserver 8.8.8.8 nameserver 8.8.4.4]
INFO[3525] +job allocate_interface(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619)
INFO[3525] -job allocate_interface(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619) = OK (0)
INFO[3525] +job allocate_port(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619)
INFO[3525] -job allocate_port(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619) = OK (0)
INFO[3525] +job log(start, 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619, collabora/code:latest)
INFO[3525] -job log(start, 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619, collabora/code:latest) = OK (0)
WARN[3525] exit status 1
INFO[3525] +job release_interface(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619)
INFO[3525] -job release_interface(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619) = OK (0)
INFO[3525] +job release_interface(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619)
INFO[3525] Unable to unmap port 127.0.0.1:9980: port is not mapped
INFO[3525] -job release_interface(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619) = OK (0)
INFO[3525] +job log(die, 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619, collabora/code:latest)
INFO[3525] -job log(die, 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619, collabora/code:latest) = OK (0)
Cannot start container 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619: [8] System error: exec format error
INFO[3525] -job start(9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619) = ERR (1)
ERRO[3525] Handler for POST /containers/{name:.*}/start returned error: Cannot start container 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619: [8] System error: exec format error
ERRO[3525] HTTP Error: statusCode=500 Cannot start container 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619: [8] System error: exec format error
任何想法这里出了什么问题?