Docker should not accept conflicting selinux labels #31328
Labels
area/security/selinux
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
Description
Docker accepts 2 conflicting security-opt types, only the last one given is used as the process label.
Steps to reproduce the issue:
Describe the results you received:
docker inspect results in:
snip
Describe the results you expected:
Throw an error and make sure there can only be one type of each of the selinux labels, type, role, user, level, disable
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
virtualbox
The text was updated successfully, but these errors were encountered: