YouTip LogoYouTip

Docker Version Command

# docker version Command [![Image 3: Docker Command Manual](#)Docker Command Manual](#) * * * The `docker version` command is used to display version information for the Docker client and server. The `docker version` command helps you confirm the currently installed Docker version and detailed version information for both the client and server. There is also a `docker --version` command used to display Docker's version information. ### Syntax docker version OPTIONS description: * **-f :** Specifies a template file for the return value. ### Example Display Docker version information. $ docker version Client: Docker Engine - Community Version: 20.10.7 API version: 1.41 Go version: go1.13.15 Git commit: f0df350 Built: Wed Jun 2 11:57:37 2021 OS/Arch: linux/amd64 Context: default Experimental: trueServer: Docker Engine - Community Engine: Version: 20.10.7 API version: 1.41 (minimum version 1.12) Go version: go1.13.15 Git commit: b0f5bc3 Built: Wed Jun 2 11:55:47 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.6 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d runc: Version: 1.0.0-rc95 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 docker-init: Version: 0.19.0 GitCommit: de40ad0 ### Output Explanation **Client**: Information about the Docker client. * `Version`: The client's version number. * `API version`: The API version number. * `Go version`: The Go language version used to compile the Docker client. * `Git commit`: The Git commit ID corresponding to this version. * `Built`: The build date. * `OS/Arch`: Operating system and architecture. * `Context`: The current Docker context. * `Experimental`: Whether experimental features are enabled. **Server**: Information about the Docker server (daemon). * `Engine`: * `Version`: The server's version number. * `API version`: The API version number (and the minimum supported version). * `Go version`: The Go language version used to compile the Docker server. * `Git commit`: The Git commit ID corresponding to this version. * `Built`: The build date. * `OS/Arch`: Operating system and architecture. * `Experimental`: Whether experimental features are enabled. * `containerd`: The version and Git commit ID of containerd used by Docker. * `runc`: The version and Git commit ID of runc used by Docker. * `docker-init`: The version and Git commit ID of docker-init used by Docker. < * * Docker Command Manual](#)
← Java Scanner ClassDocker Import Command β†’