Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop host_directory support #199

Open
mccalluc opened this issue Sep 25, 2018 · 0 comments
Open

Drop host_directory support #199

mccalluc opened this issue Sep 25, 2018 · 0 comments

Comments

@mccalluc
Copy link
Member

host_directory was part of the machinery for providing input via locally mounted files. We've dropped support for that.

            binding = volume.copy()
            assert not binding.get('mode'), \
                '"mode" should not be provided on {}'.format(volume)
            host_directory = binding.pop('host', None)
            if host_directory:
                # Typically for mounting user input
                binding['mode'] = 'ro'
                volumes[host_directory] = binding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant