windowspowershelldockercmd

How to check if Docker is running on Windows?


I'd like to know how to check if Docker is running on Windows by means of the command line (cmd or powershell).

Although, I've found several posts indicating the solution to this, they are for Linux environments:

How to check if docker is running or not

How to check if docker daemon is running?

I couldn't get the answer for Windows systems.


Solution

  • Try running either of these commands on Powershell or cmd, if docker is installed, you should get a error free response:

    docker --version
    

    OR

    docker-compose --version
    

    OR

    docker ps