docker: exec format error

Pierre-Andre Morey pierre-andre.morey at canonical.com
Fri Jun 26 08:50:04 UTC 2015


Not so easy, as the image need to support multiple arch, there is no direct
ubuntu:trusty to armbuild/ubuntu:trusty, it could also be kickinz1/ubuntu.

Docker afaik only support amd64 arch for now. Ubuntu support more arch and
has docker working in those, but the docker-registry doesn't build official
images on those arch yet.

So do we want to have the snappy docker wrapper to explicitly modify
'ubuntu' string to 'armbuild/ubuntu' on snappy arm arches?

We might want some sort of 'official' arch repository for supported arch
(armhf, amd64, ppc, ppc64el, arm64).

2015-06-25 18:26 GMT+02:00 Dustin Kirkland <kirkland at canonical.com>:

> On Thu, Jun 25, 2015 at 8:59 AM, Jamie Strandboge <jamie at canonical.com>
> wrote:
> > On 06/25/2015 01:25 AM, Seth Arnold wrote:
> >> On Wed, Jun 24, 2015 at 05:40:27PM -0700, Zhuoqun Cheng wrote:
> >>> *$ docker run hello-world*
> >>> *FATA[0001] Error response from daemon: Cannot start container
> >>> abcbe08d0619fef08b9de12dfab982ff747ac47198c185899410676f35b512e2: [8]
> >>> System error: exec format error *
> >>> (Just to be clear, the first time I ran it, it did pull the image.)
> >>
> >> "exec format error" sounds a lot like an architecture mis-match. Are you
> >> sure the image you downloaded is inteded to be used on ARM? Is it
> compiled
> >> for the correct arm instruction set?
> >>
> > FYI, if using docker on arm you need to use '-t armbuild/ubuntu:trusty'
> instead
> > of '-t ubuntu:trusty'.
>
> Can we please patch docker to detect and handle that automatically?
>
> Thanks,
> Dustin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150626/3015394f/attachment.html>


More information about the snappy-app-devel mailing list