podman export on crashed container in Openshift 4

Posted on

I want to save the data from a crashed container in Openshift 4.3.
I can find the container with:

# crictl ps -a | grep rgw
679c6f41eef48       11fcd0cd8c979d92da8eb0a2a489616740412739e9efa794f418a8c575cd6908                                                                                              2 hours ago         Running             rgw                           1                   9aed417acef69
2e6199f21620e       11fcd0cd8c979d92da8eb0a2a489616740412739e9efa794f418a8c575cd6908                                                                                              2 hours ago         Exited              rgw

Its the Exited one I want to save.
But if I try to export it with podman , podman cant find it.

# podman export -o /var/home/core/rgw.tar 2e6199f21620e
Error: error looking up container "2e6199f21620e": no container with name or ID 2e6199f21620e found: no such container

And suggestions ...?

Responses