[
https://issues.apache.org/jira/browse/YARN-8380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16550064#comment-16550064
]
Eric Yang commented on YARN-8380:
---------------------------------
{quote}
Not sure what you mean. The patch currently allows container executor config
keys for all the types. I should have mentioned this before – it didn't seem
worthwhile to only add "shared" when there are so many other modes, so I have
been working towards supporting any single mode. I am thinking now that I could
use a regex like [rw|ro|z|Z|s|[r]shared|[r]slave|[r]private|nocopy] to check
the mode, but would prefer not to add support for comma separated modes in this
ticket – we could open a separate ticket for that.
{quote}
I think rslave,rprivate are propagation options, and they are not specific
mode. With this change, if we want to white list a rw mount with slave option,
how do we specify in container-executor.cfg?
docker.allowed.rw,slave-mounts seems to be the key that container-executor
expected to check. I am not sure if this is desired config syntax from user
point of view. We probably want to classify the propagation options to
docker.allow.rw-mounts.
> Support shared mounts in docker runtime
> ---------------------------------------
>
> Key: YARN-8380
> URL: https://issues.apache.org/jira/browse/YARN-8380
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Priority: Major
> Attachments: YARN-8380.1.patch, YARN-8380.2.patch
>
>
> The docker run command supports the mount type shared, but currently we are
> only supporting ro and rw mount types in the docker runtime.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]