The Red Hat Ecosystem Catalog contains a supported version of the pause
container. This container is based on ubi8. This best version of the Pause container to use for multiarch purposes.
Don’t use docker.io/ibmcom/pause-ppc64le:3.1 when you have a multi-architecture version
Steps
- Create a Pod yaml pointing to the Red Hat registry.
$ cat << EOF > pod.yaml
kind: Pod
apiVersion: v1
metadata:
name: demopod-1
labels:
demo: foo
spec:
containers:
- name: pause
image: registry.access.redhat.com/ubi8/pause:latest
EOF
- Create the Pod
$ oc apply -f pod.yaml
pod/demopod-1 created
- Check the Pod is running.
$ oc get pods -l demo=foo
NAME READY STATUS RESTARTS AGE
demopod-1 1/1 Running 0 89s
You have a Pause container running in OpenShift.