X Tutup
Skip to content

Allow to manage Linux capabilities in CreateContainerCmd#106

Merged
marcuslinke merged 2 commits intodocker-java:masterfrom
albers:capabilities
Dec 3, 2014
Merged

Allow to manage Linux capabilities in CreateContainerCmd#106
marcuslinke merged 2 commits intodocker-java:masterfrom
albers:capabilities

Conversation

@albers
Copy link
Copy Markdown
Contributor

@albers albers commented Dec 3, 2014

No description provided.

This avoids errors when entering capabilities due to different capabilty
names, e.g. "MKNOD" in docker vs. "CAP_MKNOD" in Linux manpages.
It also gives a natural home for documenting the meaning of the
individual values.
This was previously only availabale in StartContainerCmd.
The introduction of HostConfig as a parameter to /containers/create in
Docker API v1.15 allows to specify capabilites here as well.
marcuslinke added a commit that referenced this pull request Dec 3, 2014
Allow to manage Linux capabilities in CreateContainerCmd
@marcuslinke marcuslinke merged commit 5aca2b9 into docker-java:master Dec 3, 2014
@marcuslinke
Copy link
Copy Markdown
Contributor

@albers Nice! Thanks Harald!

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

X Tutup