docker version

Shows the version of the Docker CLI (Client) and of the Docker Engine it talks to (Server).

In more detail

If only the Client section appears with an error, the CLI is installed but the daemon is not running or you lack permission to reach its socket. The Server section reports Linux even on a Mac, because the daemon runs in a Linux virtual machine there.

Example

docker version

Related terms

Taught in

References