Hello I did something like this on Ubuntu. Not sure where is my docker app.
jim@jim-beam-VirtualBox:~$ docker run -d centos /bin/bash -c /bin/bash -c 'while true; do x=$[$x+1];sleep 10;echo $x;done’
e0577d713618567ddfee836e7d30f73ded3829e3318ada3080b66a3cde2c1e54
jim@jim-beam-VirtualBox:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
jim@jim-beam-VirtualBox:~$
Why docker ps doesn’t report anything to be running.
I am fairly new to the technology and learning so please accept my apologies for mistake.
Regards
Jim