Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add npipe as a valid mount type #1788

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

Merged
merged 1 commit into from
Feb 5, 2022
Merged

Conversation

aroskuski
Copy link
Contributor

@aroskuski aroskuski commented Jan 20, 2022

Version 1.40 of the API (or at least I think it was that version, had to manually search through versions of the doc) added npipe as a valid mount type. This is necessary for certain cases, like mounting the default docker pipe on Windows inside a container.

I've manually tested that this change works, but automated testing has proven a bit of a challenge. It's kind of too trivial to write a meaningful unit test for (though I did go through and made sure the all the existing tests passed, on Windows, even), and there doesn't appear to be an obvious way to add an integration test for a Windows-only feature.

@bsideup
Copy link
Member

bsideup commented Feb 4, 2022

Hi @aroskuski,

Could you please make the change focused on adding NPIPE mount type (easy to accept), and extract the Windows testing into a separate PR (needs a discussion)? Thank you!

@aroskuski
Copy link
Contributor Author

Alright @bsideup, I've split the unit test stuff out into #1804 so that it can be dealt with separately. I'm not super attached to those changes, it just seemed like a useful thing to do since I was testing the feature out on Windows for obvious reasons.

@bsideup bsideup added this to the next milestone Feb 5, 2022
@bsideup bsideup added dependencies Pull requests that update a dependency file type/enhancement labels Feb 5, 2022
@bsideup bsideup merged commit fd27cc2 into docker-java:master Feb 5, 2022
@bsideup
Copy link
Member

bsideup commented Feb 5, 2022

@aroskuski thank you! I think the change is valid, I was just working on preparing a release and wanted to include your change, but wasn't ready to review that test-related change πŸ‘ Will have a look after the release πŸ‘ Thank you!

@aroskuski aroskuski deleted the add_npipe branch February 5, 2022 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file type/enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants