Replies: 1 comment 1 reply
-
We have a template variable I would be open to adding the ability to do bind mounts (for the v1 prerelease) if you'd like to help design how that should work. We already have a config setting What we would need to figure out a few things:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a usecase where I want the installer to perform some actions on the host filesystem via bind mounts, configured using porter parameters. The installer image doesn't run with any bind mounts, and I can't add any new ones once the container is up, so my solution was to add an install step which runs docker with the configured bind mount, and perform the actions inside that.
I really only need a shell to perform these actions, so I'd like to reuse the invocation image if possible, for example by running
{{ bundle.images.invocationImage.repository }}@{{ bundle.images.invocationImage.digest }}
. I could take the reference as a parameter, but I'd like to avoid adding additional coupling. Another solution would be to bundle a busybox image just to perform some additional actions.Beta Was this translation helpful? Give feedback.
All reactions