docker staus code example
Example 1: how check status docker in ubuntu
sudo systemctl status docker
#(OR)
systemctl status docker.service
# To check the status of Docker whether running or not.
Example 2: docker ps view command
docker ps --no-trunc
Example 3: list containers
docker ps -a