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

Fix volume mapping #107

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Fix volume mapping #107

merged 1 commit into from
Jan 12, 2022

Conversation

prezzar
Copy link
Contributor

@prezzar prezzar commented Dec 13, 2021

Adding volume mappings to CreateContainerParameters.Volumes doesn't seem to work as expected in Docker.Dotnet - the fix is to use the Binds property when creating a HostConfig. The issue is tracked here dotnet/Docker.DotNet#226

@swisslife-bot
Copy link

swisslife-bot commented Dec 13, 2021

CLA assistant check
All committers have signed the CLA.

@43081j
Copy link

43081j commented Jan 12, 2022

@Carael could you possibly trigger CI? would be good to unblock this

@Carael
Copy link
Contributor

Carael commented Jan 12, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

var content = await response.Content.ReadAsStringAsync();

//Assert
content.Should().Contain("Hello Squadron unit test!");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could actually make a snapshot here with Snapshooter but it's only a suggestion. It's ok so.

Copy link
Contributor

@Carael Carael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for your contribution!

@sonarcloud
Copy link

sonarcloud bot commented Jan 12, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Carael Carael merged commit f856c83 into SwissLife-OSS:master Jan 12, 2022
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

Successfully merging this pull request may close these issues.

Volume bindings are not working due to wrong usage of docker cli
4 participants