What command is used to check for the version of docker client and server?
The command used to get all version information of the client and server is the docker version.
To get only the server version details, we can run docker version --format '{{.Server.Version}}'