We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 810051f commit d038f7aCopy full SHA for d038f7a
ubi-info/Dockerfile
@@ -0,0 +1,3 @@
1
+FROM registry.access.redhat.com/ubi8/ubi:8.0
2
+ADD info.sh /tmp
3
+CMD /tmp/info.sh
ubi-info/info.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo '--- Host name:'
4
+cat /proc/sys/kernel/hostname
5
+echo
6
+echo '--- Free memory'
7
+grep '^Mem' /proc/meminfo
8
9
+echo '--- Mounted file systems (partial)'
10
+df -h
0 commit comments