containerd/cmd/ctr/commands/shim
Ace-Tang 6907062863 ctr: make ctr shim command easy to use
make ctr shim command easy to use for user, shim socket is generated
through sha256, and it can not get directly, change socket flag to id
command, generated socket in code.
It also avoid fail to connect shim v2, since shim v2 have multiple
containers, `ctr shim --socket state` should specify container id, or
get error `rpc error: code = NotFound desc = container not created: not
found`

Signed-off-by: Ace-Tang <aceapril@126.com>
2019-05-17 11:56:08 +08:00
..
io_unix.go Licence header added 2018-02-19 10:32:26 +09:00
shim.go ctr: make ctr shim command easy to use 2019-05-17 11:56:08 +08:00