Container running but not in ps -a

Just wondering if anyone has seen the following issue before?

Yesterday we had a container that was definitely running, I could access it over http and could successfully interact with it, but it wasn’t showing whilst doing docker ps -a.

(The down side of this being the image got deleted when one of our scripts ran as there was no associated container and this removed our scm! :cold_sweat:)

it’s very weird, you can see all the containers in ps -a, or docker images(locally), you may have executed it remotely, anyway, use the dockerfile to exec it again.