I am no expert on docker ce but this is a working example on my test RL9.3, it works after OS upgrade from 9.2.
May be the user need to be in docker group ?
[me@rocky9t01a ~]$ cat /etc/redhat-release
Rocky Linux release 9.3 (Blue Onyx)
[me@rocky9t01a ~]$ id me
uid=1000(me) gid=1000(me) groups=1000(me),10(wheel),983(docker)
[me@rocky9t01a ~]$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
719385e32844: Pull complete
Digest: sha256:c79d06dfdfd3d3eb04cafd0dc2bacab0992ebc243e083cabe208bac4dd7759e0
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
[me@rocky9t01a ~]$ docker run -it ubuntu bash
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
5e8117c0bd28: Pull complete
Digest: sha256:8eab65df33a6de2844c9aefd19efe8ddb87b7df5e9185a4ab73af936225685bb
Status: Downloaded newer image for ubuntu:latest
root@b1a13c2e676c:/# uname -a
Linux b1a13c2e676c 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 8 17:36:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
root@b1a13c2e676c:/# exit
exit
[me@rocky9t01a ~]$
My only unusual setup is I configured the Docker data-root to a dedicated mount. Docker certainly generated its heap of folders and files in the new path so I assume that’s OK…
Maybe I try setting back to default… thanks again…