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
client_daemon_windows.go
client_local_windows.go Use containerd API to get version 2017-11-03 01:46:58 +01:00
errors.go
io.go
io_unix.go
io_windows.go
process_windows.go
queue.go
queue_test.go
remote_daemon.go
remote_daemon_linux.go
remote_daemon_options.go
remote_daemon_options_linux.go
remote_daemon_process.go
remote_daemon_process_linux.go
remote_daemon_windows.go
remote_local.go
types.go Use containerd API to get version 2017-11-03 01:46:58 +01:00
types_linux.go
types_windows.go
utils_linux.go
utils_windows.go
utils_windows_test.go