Does anyone remember the 1999 science fiction action movie, The Matrix?
Well, what about retrieving the mystery and imagination? Interested?
Let's create a container simulating Neo's machine. I'm using Fedora, so if you're not, adjust your actions accordingly.
First, you have to download a package from the Fedora repository and extract the RPM file:
$ 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
Then you pull the Red Hat Enterprise Linux 8 Universal Base Image and create the new Matrix container:
$ podman pull registry.access.redhat.com/ubi8/ubi
$ podman run --name matrix -it registry.access.redhat.com/ubi8/ubi /usr/bin/bash
# exit
Now copy the binary into the exited container, and then start and attach the container:
$ podman cp usr/bin/cmatrix matrix:/usr/bin/matrix
$ podman start matrix
$ podman attach matrix
Start the animation : # matrix
Show usage options : # matrix -h
Stop the animation : # q
Leave the container : # exit
Cool, isn't it? The same feature (running rootless podman) will be possible on RHEL soon.
The content of this article was originally posted on The Red Hat Universe.
저자 소개
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, and virtualization.
유사한 검색 결과
Bridging the gap: Red Hat Academy shaping open source talent in APAC
From banking to tech: Bradley's Red Hat journey
Why Should You Write Technical Documentation? | Compiler
Tech Conferences 101 | Compiler
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
가상화
온프레미스와 클라우드 환경에서 워크로드를 유연하게 운영하기 위한 엔터프라이즈 가상화의 미래