kerberos-io / kerberos-docker

Run Kerberos Open Source inside a docker container.
http://doc.kerberos.io/opensource/installation#docker
103 stars 31 forks source link

Multi-architecture support #3

Closed cedricve closed 6 years ago

cedricve commented 7 years ago

Context

We're creating a ARM Dockerfile, so Kerberos.io can also be used on other architectures as well. Afterwards we can use a manifest tool (http://container-solutions.com/multi-arch-docker-images/) to redirect to architecture specific images.

Registry

Currently the only way is to create separate tags to support different architectures (e.g. machinery-x86, machinery-armv7hf, machineryamd64, etc). This is not clean, therefore Docker is creating an OOTB implementation to support this feature. To be continued.

docker/docker/pull/27455

Manifest tool

We're using Docker's Edge feature docker manifest to map the different architectures.

cedricve commented 7 years ago

@dragoncube we can proceed in here.

ghost commented 6 years ago

Hi @cedricve , I am trying to build the docker image on a rpi3 device but I'm getting the folowing error: Step 3/12 : RUN cross-build-start ---> Running in eb11c1cebd50 standard_init_linux.go:178: exec user process caused "exec format error" The command 'cross-build-start' returned a non-zero code: 1 I also tried with 'FROM resin/raspberrypi3-debian' but I get the same error.

cedricve commented 6 years ago

We're using Docker's Edge feature docker manifest to map the different architectures. Already compiled the different bases.

https://github.com/kerberos-io/docker/tree/master/base-linux-amd64 https://github.com/kerberos-io/docker/tree/master/base-linux-arm

And added to Docker hub.

https://hub.docker.com/r/kerberos/base/tags/

cedricve commented 6 years ago

we're now manifesting the kerberos/kerberos image. https://hub.docker.com/r/kerberos/kerberos