diff --git a/ubi-info/Dockerfile b/ubi-info/Dockerfile new file mode 100644 index 0000000000..a91a356168 --- /dev/null +++ b/ubi-info/Dockerfile @@ -0,0 +1,3 @@ +FROM registry.access.redhat.com/ubi8/ubi:8.0 +ADD info.sh /tmp +CMD /tmp/info.sh diff --git a/ubi-info/info.sh b/ubi-info/info.sh new file mode 100755 index 0000000000..b3dcbfa8b9 --- /dev/null +++ b/ubi-info/info.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +echo '--- Host name:' +cat /proc/sys/kernel/hostname +echo +echo '--- Free memory' +grep '^Mem' /proc/meminfo +echo +echo '--- Mounted file systems (partial)' +df -h