在运行Ubuntu 14.04的Odroid U3上,我尝试让Collabora与Docker一起使用Nextcloud。
Linux Kernel Version 3.8.13
Docker Version 1.6.2, build 7c8fca2
我使用:docker pull collabora/code
当我尝试使用sudo docker run -t -d -p 127.0.0.1:9980:9980 --restart always --cap-add MKNOD collabora/code
使用Collabora启动Docker时,会抛出以下错误:
FATA[0000] Error response from daemon: Cannot start container 9e7590d0f3ff444b721f544bea8b2ba1584c8c527d4a88bfd27e1b1f7bdd0619: [8] System error: exec format error
我google了很多但找不到任何解决方案。 docker日志文件说明了这一点:
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
任何想法这里出了什么问题?