In a script, I need to check:
a) Is the docker engine running? b) Given a container name, is that docker container running?
[the initial wording of this
List all containers:
docker container ls -a
ls = list -a = all
ls
-a
Check the column "status"