`docker ps` not showing running process on EC2 instance

Expected behavior

I see the docker process when I run ps aux | grep docker. However when I run docker ps, it does not show any containers. I was expecting the running process to show up.

Actual behavior

docker ps does not show the running process. The filesystem was 60% full and there was 10GB free RAM.

Additional Information

The docker image was running on an EMR machine.
The EC2 machine has plenty of memory, disk and CPU.

Steps to reproduce the behavior

You should expect to see the Docker daemon if you do this but probably nothing else. A container that runs, say, uwsgi will show up with a process named “uwsgi” in the host ps listing.