1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libcontainerd
Sebastiaan van Stijn fec2b144fe
Use containerd API to get version
The `docker info` code was shelling out to obtain the
version of containerd (using the `--version` flag).

Parsing the output of this version string is error-prone,
and not needed, as the containerd API can return the
version.

This patch adds a `Version()` method to the containerd Client
interface, and uses this to get the containerd version.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-11-03 01:46:58 +01:00
..
client_daemon.go Use containerd API to get version 2017-11-03 01:46:58 +01:00
client_daemon_linux.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
client_daemon_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
client_local_windows.go Use containerd API to get version 2017-11-03 01:46:58 +01:00
errors.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
io.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
io_unix.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
io_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
process_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
queue.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
queue_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_daemon.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_daemon_linux.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
remote_daemon_options.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_daemon_options_linux.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
remote_daemon_process.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_daemon_process_linux.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
remote_daemon_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_local.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
types.go Use containerd API to get version 2017-11-03 01:46:58 +01:00
types_linux.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
types_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_linux.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_windows_test.go