You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Thomas Weise (JIRA)" <ji...@apache.org> on 2018/09/20 13:38:00 UTC
[jira] [Commented] (BEAM-5440) Add option to mount a directory
inside SDK harness containers
[ https://issues.apache.org/jira/browse/BEAM-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622049#comment-16622049 ]
Thomas Weise commented on BEAM-5440:
------------------------------------
I think that's a good idea that will help users during development. It may also be of interest just to access certain files that are present in a host environment in general. Although developers will probably prefer to use the process environment option :)
> Add option to mount a directory inside SDK harness containers
> -------------------------------------------------------------
>
> Key: BEAM-5440
> URL: https://issues.apache.org/jira/browse/BEAM-5440
> Project: Beam
> Issue Type: New Feature
> Components: java-fn-execution
> Reporter: Maximilian Michels
> Priority: Major
> Fix For: 2.8.0
>
>
> While experimenting with the Python SDK locally, I found it inconvenient that I can't mount a host directory to the Docker containers, i.e. the results of a Write inside a container remain in the container. For local testing, users may want to mount a host directory.
> Since the {{Environment}} now carries explicit environment information, we could a) add volume args to the {{DockerPayload}}, or b) provide a general Docker arguments field.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)