Skip to content

generate: fix capabilities add/drop option#674

Merged
zhouhao3 merged 2 commits intoopencontainers:masterfrom
zhouhao3:fix-cap-add
Dec 14, 2018
Merged

generate: fix capabilities add/drop option#674
zhouhao3 merged 2 commits intoopencontainers:masterfrom
zhouhao3:fix-cap-add

Conversation

@zhouhao3
Copy link
Copy Markdown

@zhouhao3 zhouhao3 commented Dec 6, 2018

After modification, you can add or delete multiple capabilities with one command.

oci-runtime-tool generate  --process-cap-add-ambient CAP_FOWNER,CAP_FSETID

Fixes #673

Signed-off-by: Zhou Hao zhouhao@cn.fujitsu.com

After modification, you can add or delete multiple capabilities with one command.

```
./oci-runtime-tool generate  --process-cap-add-ambient CAP_FOWNER,CAP_FSETID
```

Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
Added some instructions and examples to the process-add-cap-* and process-drop-cap* commands.

Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
@liangchenye
Copy link
Copy Markdown
Member

liangchenye commented Dec 14, 2018

LGTM

Approved with PullApprove

@zhouhao3 zhouhao3 merged commit 51e5a89 into opencontainers:master Dec 14, 2018
@zhouhao3 zhouhao3 deleted the fix-cap-add branch December 14, 2018 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants