Skip to content

How are porter mixins able to affect the host machine? #2097

Answered by carolynvs
richbai90 asked this question in Q&A
Discussion options

You must be logged in to vote

The bundle and its mixins only have access to what the user explicitly provides when they run the bundle, either through parameters, credentials or in the case of docker, the --allow-docker-host-access flag. It is up to the bundle author to declare what's needed by the bundle through those mechanisms.

For bundles that require access to the docker host (usually because they are using the docker or docker-compose mixins), the bundle author should call that out by adding the following lines to the bundle. This tells porter that the bundle requires docker access, and porter will then help prompt the user to specify that flag. Right now porter doesn't have a way for the mixin to directly commu…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@richbai90
Comment options

@carolynvs
Comment options

@richbai90
Comment options

@carolynvs
Comment options

Answer selected by richbai90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants