All Projects → multiarch → Ubuntu Core

multiarch / Ubuntu Core

Licence: mit
🌍 `ubuntu-core` Docker image for multiple architectures

Programming Languages

shell
77523 projects

🌍 ubuntu-core Build Status

Multiarch Ubuntu images for Docker.

Based on https://github.com/tianon/docker-brew-ubuntu-core/

Usage

Once you need to configure binfmt-support on your Docker host. This works locally or remotely (i.e using boot2docker or swarm).

# configure binfmt-support on the Docker host (works locally or remotely, i.e: using boot2docker)
$ docker run --rm --privileged multiarch/qemu-user-static:register --reset

Then you can run an armhf image from your x86_64 Docker host.

$ docker run -it --rm multiarch/ubuntu-core:armhf-wily
uname -a
Linux a0818570f614 4.1.13-boot2docker #1 SMP Fri Nov 20 19:05:50 UTC 2015 armv7l armv7l armv7l GNU/Linux
exit

Or an x86_64 image from your x86_64 Docker host, directly, without qemu emulation.

$ docker run -it --rm multiarch/ubuntu-core:amd64-wily
uname -a
Linux 27fe384370c9 4.1.13-boot2docker #1 SMP Fri Nov 20 19:05:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:/#

It also works for arm64

$ docker run -it --rm multiarch/ubuntu-core:arm64-wily
uname -a
Linux 723fb9f184fa 4.1.13-boot2docker #1 SMP Fri Nov 20 19:05:50 UTC 2015 aarch64 aarch64 aarch64 GNU/Linux

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].