What command is used to check the version of docker client and server?

DWQA QuestionsCategory: QuestionsWhat command is used to check the version of docker client and server?
Editor Staff asked 1 month ago

What command is used to check the version of docker client and server?

1 Answers
Editor Staff answered 1 month ago
  • 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}}'