-
Notifications
You must be signed in to change notification settings - Fork 232
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
Windows fails w. Kitchen b/c Unix Socket usage #318
Comments
This is an enhancement request to have intelligent defaults.
|
As a workaround I am doing this: <% @socket = ENV['DOCKER_HOST'] ||
RUBY_PLATFORM =~ /mingw32/ ?
'npipe:////./pipe/docker_engine' :
'unix:///var/run/docker.sock'
%>
driver:
name: docker
socket: <%= @socket %> I am making tutorial material that will work on Win/Lin/Mac, and would prefer not to overwhelm new comers. |
I wonder if its possible to use this project to launch Windows Containers in a Windows Docker Host. |
@lmayorga1980 Have you tried testing the code in PR #340? We’re looking for people to test and provide feedback as we continue to refine the code. |
Definitely will test, I have a Windows 2019 Core Docker host ready to go... |
@lmayorga1980 Thanks — please update the PR #340 if you run into any issues. |
Release 2.10 contains Windows support now. Please open a new issue if any problems are found using this release. Thanks. |
Running
kitchen create
fails with Docker-for-WIndows.STEPS
> kitchen create
The config is the following:
EXPECTED RESULTS
Will be able to do
kitchen create
the same way I can for Linux, or Mac w/ Docker-for-Mac.The plug-in should detect it is in Windows environment, and use an alternative means to communicate to Docker service. The docker client commands work fine, as well as docker python library through docker-compose.
ACTUAL RESULTS
The default behavior is to use the Unix socket, which well, on Windows, is not going to work very well.
The text was updated successfully, but these errors were encountered: