You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Badger (JIRA)" <ji...@apache.org> on 2018/05/15 18:16:00 UTC
[jira] [Commented] (YARN-7960) Add no-new-privileges flag to docker
run
[ https://issues.apache.org/jira/browse/YARN-7960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476290#comment-16476290 ]
Eric Badger commented on YARN-7960:
-----------------------------------
Attaching a patch that adds {{--security-opt=no-new-privileges}} for all unprivileged docker containers
> Add no-new-privileges flag to docker run
> ----------------------------------------
>
> Key: YARN-7960
> URL: https://issues.apache.org/jira/browse/YARN-7960
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Eric Badger
> Priority: Major
> Labels: Docker
> Attachments: YARN-7960.001.patch
>
>
> Minimally, this should be used for unprivileged containers. It's a cheap way to add an extra layer of security to the docker model. For privileged containers, it might be appropriate to omit this flag
> https://github.com/moby/moby/pull/20727
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org