Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 772938 - app-emulation/docker-20.10.3 Server version shows as "dev" instead of real version
Summary: app-emulation/docker-20.10.3 Server version shows as "dev" instead of real ve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-25 21:43 UTC by damo
Modified: 2021-03-07 08:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description damo 2021-02-25 21:43:31 UTC
Issue
-------

Docker info on package docker-20.10.3 returns "dev" as server version, ie:

> docker info
 ...

Client:
 Context:    default
 Debug Mode: false

Server:
 Containers: 3
  Running: 3
  Paused: 0
  Stopped: 0
 Images: 3
 Server Version: dev
 Storage Driver: overlay2
  Backing Filesystem: extfs

Compare with server version in ie, docker-19.03.15


> docker info
 ...

Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 3
  Paused: 0
  Stopped: 0
 Images: 3
 Server Version: 19.03.15
 Storage Driver: overlay2
  Backing Filesystem: extfs

Impact
----------

Services like docker/cadvisor, parse the Server Version field using a regex matching "[0-9+].*", "dev" as a label returns none, so (in this case) container statistics dont get correctly labelled.
Comment 1 Larry the Git Cow gentoo-dev 2021-03-07 08:18:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52a5cccb310fdd2086befc8d64d28166195e339

commit b52a5cccb310fdd2086befc8d64d28166195e339
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2021-03-07 08:11:14 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2021-03-07 08:17:54 +0000

    app-emulation/docker: 20.10.3-r1 revbump to fix displayed server version
    
    Closes: https://bugs.gentoo.org/772938
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-emulation/docker/docker-20.10.3-r1.ebuild | 294 ++++++++++++++++++++++++++
 1 file changed, 294 insertions(+)