Skip to content

Mounting a sub directory of my solution into the docker container #767

Answered by HofmeisterAn
dgiddins asked this question in Q&A
Discussion options

You must be logged in to vote

WithVolumeMount(string, string) is intended for Docker managed volumes. You are lookin for WithBindMount(string, string). Please note, that we do not recommend to mount local paths into the container. It makes testing very hard across different development machines or CI environments.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dgiddins
Comment options

@HofmeisterAn
Comment options

@dgiddins
Comment options

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