Difficulty: beginner
Estimated Time: 10 minutes

Build PowerPC LE (ppc64le) arch Docker Image on Intel

You can read more details in the related article - https://goo.gl/eU0Qbj

This scenario describes how to build a Docker Image for a specific archtiecture (say PowerPC LE) on a system with different CPU architecture (Intel)

Building Multi-arch Docker Images on Intel Host

Step 1 of 3

Step 1 - Setup Environment

Register Qemu as PowerPC LE binary handler. This leverages binfmt_misc capability of the Linux kernel and is the key thing. More details on binfmt_misc is available here

Check the host CPU architecture.

uname -m

The command below will register interpreters to run binaries belonging to specific architecture.

docker run --rm --privileged multiarch/qemu-user-static:register


cat /proc/sys/fs/binfmt_misc/ppc64le

Any ppc64le binary (magic - 7f454c460....) will be executed with /usr/bin/qemu-ppc64le-static.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]