docker: exec format error

Scott Moser scott.moser at canonical.com
Fri Jun 26 17:44:31 UTC 2015


On Fri, 26 Jun 2015, Scott Moser wrote:

> On Fri, 26 Jun 2015, Pierre-Andre Morey wrote:
>
> > 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).
>
> We really need to work with upstream to do this cleanly, and anything else is
> going to be a brittle hack that we'd need to maintain, and would only work for
> a very small set of things.

I just chatted with a docker upstream developer who pointed me at the
upstream work for this.
  https://github.com/docker/distribution/issues/200

The document at https://gist.github.com/estesp/a3546f3cf24d2fc9cecc
describes the intended solution fairly well.

Its not something that is expected to land "real soon now", but the
direction they're going in is what we want.

At some point:
 docker run -t ubuntu
will just work on ppc64el, arm64 and x86.




More information about the snappy-app-devel mailing list