After upgrading from docker-1.12.6 to docker-1.13.1, the package version is shown as unknown

Solution Verified - Updated -

Issue

  • The command docker version returns unknown Package version value in the output.
  • Package version is shown as unknown after upgrading from docker-1.12.6.x to docker-1.13.1.-53.git774336d.el7.x86_64
# docker version
Client:
 Version:         1.13.1
 API version:     1.26
 Package version: 
 Go version:      go1.8.3
 Git commit:      774336d/1.13.1
 Built:           Thu Mar 22 12:20:34 2018
 OS/Arch:         linux/amd64

Server:
 Version:         1.13.1
 API version:     1.26 (minimum version 1.12)
 Package version: 
 Go version:      go1.8.3
 Git commit:      774336d/1.13.1
 Built:           Thu Mar 22 12:20:34 2018
 OS/Arch:         linux/amd64
 Experimental:    false

Environment

  • Red Hat Enterprise Linux 7
  • docker-1.13.1-53.git774336d.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content