Skip to content

How to mount a smb share to container before run my application #575

Answered by baronfel
dameng324 asked this question in Q&A
Discussion options

You must be logged in to vote

For this scenario I'd suggest using a custom Entrypoint script to handle any of the pre-startup configuration. We have an example of what this looks like here: https://github.com/baronfel/sdk-container-demo/tree/main/src%2Fcustom-entrypoint

In general, you'd use the MSBuild items you mentioned for small adjustments to the applications startup arguments, and if you had specific infrastructure/startup logic of any real size then you'd switch to a custom Entrypoint script.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dameng324
Comment options

Answer selected by dameng324
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