RHEL Universal Base Image

426 views
Skip to first unread message

Richard Powell

unread,
May 10, 2019, 8:17:03 AM5/10/19
to singularity
Has anyone in the Singularity group investigated RHEL UBI for use with Singularity containers?
https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image

David Godlove

unread,
May 10, 2019, 12:39:31 PM5/10/19
to singularity
Just looked at it.  Wow!  This fills a big gap.

Looks like their registry is OCI compliant so the following works out of the box:

vagrant@vagrant:~$ singularity pull docker://registry.access.redhat.com/ubi8/ubi:latest
INFO:    Starting build...
Getting image source signatures
Copying blob sha256:787f47dbeaac926cc8c927a48e8a84fc97e05fbd1c08a4c9c4ddcaddfd87e2f7
 67.66 MiB / ? [-----=----------------------------------------------------] 11s
Copying blob sha256:6a5240d60dc4e1ade0d103badb2a897e8103ebf0ebe08350cd582bbc9671cc7a
 1.45 KiB / ? [-----------------------------------------=------------------] 0s
Copying config sha256:c7ecba346988e47e2a78ecaf25f7cbe834f161ffd9d7c807600cb297f157ee06
 1.98 KiB / 1.98 KiB [======================================================] 0s
Writing manifest to image destination
Storing signatures
INFO:    Creating SIF file...
INFO:    Build complete: ubi_latest.sif

vagrant@vagrant:~$ singularity shell ubi_latest.sif

Singularity ubi_latest.sif:~> cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)

Would be interested to know about use cases.

On Fri, May 10, 2019 at 6:17 AM Richard Powell <blacksbu...@gmail.com> wrote:
Has anyone in the Singularity group investigated RHEL UBI for use with Singularity containers?
https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image

--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.

Hugo R Hernandez

unread,
May 10, 2019, 1:58:36 PM5/10/19
to singularity
Cool!

First check... partially work - well, haven't check anything about RHEL8 so could be errors due to CentOS7 vs RHEL8:

[me@host ~] singularity run /singularity/test/ubi_latest.sif cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)
[me@host ~] singularity shell /singularity/test/ubi_latest.sif
bash: hostname: command not found  <<<< definitions on my .bashrc to use hostname...
Singularity ubi_latest.sif:~> hostname
bash: hostname: command not found
bash: hostname: command not found
Singularity ubi_latest.sif:~> ip addr show
bash: ip: command not found
bash: hostname: command not found

Our team started discussion about the arriving of RHEL8 then CentOS8... a good test could be via Singularity!
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.

Richard Powell

unread,
May 10, 2019, 3:37:40 PM5/10/19
to singu...@lbl.gov
Our company is heavy on RHEL and we have a group designing an app on our RHEL cluster.  They need to deliver the app to a customer and I had steered them to CentOS Singularity container.  We may now see Singularity/UBI as a better fit.
 I've been test RHEL8 beta as our next gen cluster OS.  I suspected Red Hat was sitting on the release until IBM deal was a go.  Within 24 hrs of DOJ approval, it was released.  I'll have opportunity to test this RHEL8/UBI as well.
Keep me posted on any findings and I'll do the same.

Richard

To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
Reply all
Reply to author
Forward
0 new messages