How to check the version of docker installed?
To check the version of Docker installed, you can use the following command:
- Open the command line or terminal window.
- Check the version of Docker
- After the command execution is complete, the version information of Docker, including Client and Server version numbers, will be displayed.
Alternatively, if you only want to check the client version or server version of Docker, you can use the following command:
- Check the Docker client version by running:
docker –version - Check the Docker server version by running the following command:
docker server –version
The above command is compatible with most mainstream operating systems, including Windows, macOS, and Linux.