version

用法:docker version

功能:显示docker的版本信息,包括Client版本、Server版本、Go版本、OS/Arch等信息

选项:无

示例:

  1. $ sudo docker version
  2. Client:
  3. Version: 18.09.0
  4. EulerVersion: 18.09.0.48
  5. API version: 1.39
  6. Go version: go1.11
  7. Git commit: cbf6283
  8. Built: Mon Apr 1 00:00:00 2019
  9. OS/Arch: linux/arm64
  10. Experimental: false
  11. Server:
  12. Engine:
  13. Version: 18.09.0
  14. EulerVersion: 18.09.0.48
  15. API version: 1.39 (minimum version 1.12)
  16. Go version: go1.11
  17. Git commit: cbf6283
  18. Built: Mon Apr 1 00:00:00 2019
  19. OS/Arch: linux/arm64
  20. Experimental: false