cannot stop docker container
A sub-expression instructs the shell to process one set of commands, docker ps -q, first and then return the set of results to the original command docker stop. Typically, docker rm is used to remove an already stopped container, but the use of the -f flag will cause it to first issue a SIGKILL. This command is deprecated for docker -py >= 1.2.0 ; use exec_create and exec_start instead. If you want to see stopped containers too you can do this: docker ps -qa. We can also stop the container using the kill command. The output contains: This will run a syntax checker against your configuration files. What you can do is: ps aux | grep <