The Matrix

Anyone remember the 1999 science fiction action movie The Matrix ?
Well, what about retrieving the mystery and imagination, interested ?

 
Okay, let's get started - on a Red Hat system create a new container simulating Neo's machine.
Download the cmatrix package from the Fedora repositories - and extract the downloaded file.

First - if not already installed - install the container tools :

$ sudo dnf install buildah podman skopeo

$ wget https://kojipkgs.fedoraproject.org//packages/cmatrix/1.2a/4.fc30/x86_64/cmatrix-1.2a-4.fc30.x86_64.rpm

$ rpm2cpio cmatrix-1.2a-4.fc30.x86_64.rpm | cpio -id

Pull the RHEL 8 Universal Base Image - and create a new container.

$ podman pull registry.access.redhat.com/ubi8/ubi

$ podman run --name matrix -it registry.access.redhat.com/ubi8/ubi /usr/bin/bash

Leave the container : # exit

Copy the binary into the container - and then restart the container.

$ podman cp usr/bin/cmatrix matrix:/usr/bin/matrix

$ podman start --attach matrix

Show usage options : # matrix -h
Start the animation : # matrix
Stop the animation : # q
Leave the container : # exit

Cool, isn't it ? :)

About Me

I am using Red Hat based IT products - they provide absolute reliability, maximum
security, proper performance and also grant access to a huge amount of software.

I am running the latest editions of CentOS, Fedora, and Red Hat Enterprise Linux
server and workstation operating systems on physical and virtual machines (VM).

My dedicated capabilities and interests are : backup solutions & disaster recovery,
hardware drivers, infrastructure deployment, storage management, virtualization

Disclaimer

The content of the site is monitored continuously. If unintentionally rights of organizations, persons
or things will be violated, I ask for information, so that this deficiency can be corrected immediately.

All Red Hat images, logos and trademarks displayed on this website are the property of Red Hat, Inc.
I assume no liability for external links, the owners of those websites are responsible for the content.