From a9f9a79d5c9f2f062a812bd85f6269869f081917 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 20 May 2016 15:11:35 +0200 Subject: [PATCH] Merge pull request #22839 from thaJeztah/update-selinux-example Remove MLS example from SELinux example in run reference (cherry picked from commit 74ee26ccebee1f33375967f32529a63e33ee6b73) Signed-off-by: Sebastiaan van Stijn --- docs/reference/run.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/reference/run.md b/docs/reference/run.md index 942bba948f..e889178e34 100644 --- a/docs/reference/run.md +++ b/docs/reference/run.md @@ -612,15 +612,12 @@ with the same logic -- if the original volume was specified with a name it will You can override the default labeling scheme for each container by specifying -the `--security-opt` flag. For example, you can specify the MCS/MLS level, a -requirement for MLS systems. Specifying the level in the following command +the `--security-opt` flag. Specifying the level in the following command allows you to share the same content between containers. $ docker run --security-opt label=level:s0:c100,c200 -it fedora bash -An MLS example might be: - - $ docker run --security-opt label=level:TopSecret -it rhel7 bash +> **Note**: Automatic translation of MLS labels is not currently supported. To disable the security labeling for this container versus running with the `--permissive` flag, use the following command: