containerd/cmd/ctr/commands/tasks
acetang 5e94745f26 ctr: add --user for task exec
set user in exec container

$ ctr t exec --exec-id e1 --user admin container id
uid=500(admin) gid=500(admin) groups=500(admin)

Signed-off-by: chuangxue <chenglong.lcl@alibaba-inc.com>
Signed-off-by: acetang <aceapril@126.com>
2021-03-25 19:29:30 +08:00
..
attach.go Licence header added 2018-02-19 10:32:26 +09:00
checkpoint.go Add runc.v2 multi-shim 2019-02-21 11:09:46 -05:00
delete.go ctr:Support deleting multiple tasks at a time 2019-07-25 09:59:15 +08:00
exec.go ctr: add --user for task exec 2021-03-25 19:29:30 +08:00
kill.go ctr: make kill use stop-signal by default 2018-09-27 15:53:38 -07:00
list.go Update ctr tasks list usage for quiet flag 2018-04-23 14:53:35 -04:00
metrics.go ctr: Return error if task.Metrics fails 2020-09-10 16:42:35 +08:00
pause.go Licence header added 2018-02-19 10:32:26 +09:00
ps.go Licence header added 2018-02-19 10:32:26 +09:00
resume.go Licence header added 2018-02-19 10:32:26 +09:00
start.go start.go: Improve help text 2019-12-12 11:19:41 +01:00
tasks_unix.go NewTask avoid unnecessary cio.NewCreator calls 2020-09-21 11:45:37 +08:00
tasks_windows.go Enhance logging driver and ctr tasks to support windows 2021-01-21 12:17:32 -08:00
tasks.go Licence header added 2018-02-19 10:32:26 +09:00