Public bug reported:
Apparently runc is built in some non-standard way, so it does not show
its version:
kir@ubu2004:~$ runc -v
runc version spec: 1.0.2-dev
go: go1.13.8
libseccomp: 2.5.1
In the output above, version string is empty and there is no newline
added, so we have a version of the spec in the same line. Thus, docker
has the same problem reporting runc version:
kir@ubu2004:~$ docker version | grep -A2 runc
runc:
Version: spec: 1.0.2-dev
GitCommit:
For comparison, here is the correct/expected output:
[kir@kir-rhat runc]$ runc -v
runc version 1.0.0-rc93+dev
commit: ba257d2de86e7e530eeb28fe697e206630ef45f8
spec: 1.0.2-dev
go: go1.15.8
libseccomp: 2.5.0
Package information:
kir@ubu2004:~$ dpkg -l runc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-===========================-============-=================================
ii runc 1.0.0~rc93-0ubuntu1~20.04.2 amd64 Open Container
Project - runtime
kir@ubu2004:~$ runc -v
runc version spec: 1.0.2-dev
go: go1.13.8
libseccomp: 2.5.1
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929106
Title:
runc -v empty output
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1929106/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs