Steps

Using PowerPC LE (ppc64le) Docker Images on Intel Host

Step1 of 2

Step 1 - Setup Environment

Download and Install the Qemu binary.
QEMU is an open source machine emulator and virtualizer.

When used as a machine emulator, QEMU can run OSes and programs made for one machine - eg PowerPC LE
on a different machine - e.g on Intel laptop.
wget https://github.com/multiarch/qemu-user-static/releases/download/v2.7.0/qemu-ppc64le-static.tar.gz
tar zxvf qemu-ppc64le-static.tar.gz

Register Qemu as PowerPC LE binary handler. This is the key thing.
We'll be using multiarch/qemu-user-static docker image for this.

Debugging Scenarios

Help

Katacoda offerings an Interactive Learning Environment for Developers. This course uses a command line and a pre-configured sandboxed environment for you to use. Below are useful commands when working with the environment.

cd <directory>

Change directory

ls

List directory

echo 'contents' > <file>

Write contents to a file

cat <file>

Output contents of file

Vim

In the case of certain exercises you will be required to edit files or text. The best approach is with Vim. Vim has two different modes, one for entering commands (Command Mode) and the other for entering text (Insert Mode). You need to switch between these two modes based on what you want to do. The basic commands are: