Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 612
Bub Espinja Avatar asked Jul 19 '19 08:07

Bub Espinja


1 Answers

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

like image 190
ABusy_developerT Avatar answered Sep 20 '22 02:09

ABusy_developerT