Command
docker versionExplanation
Displays version information for both Docker client and server/daemon.
Examples
Show client and server versions
docker versiondocker versionDisplays version information for both Docker client and server/daemon.
Show client and server versions
docker version