-
Notifications
You must be signed in to change notification settings - Fork 396
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
Nix Entry Shell with TTY #132
Comments
Thanks @toddpi314, my journey with Windows containers began long before I became a MVP. I agree, a Jenkins swarm working with Windows Containers would help a lot of people. I wonder why they depend on third-party tools like I only know these issues arround MSYS / Cygwin: |
Adding this to the fun: https://issues.jenkins-ci.org/browse/JENKINS-36776 |
I made some progress on this:
As Cody D reports on thread https://issues.jenkins-ci.org/browse/JENKINS-36776, step #3 stalls where the BAT command doesn't seem to return anything when Jenkins Pipeline calls The good news is this approach makes things get to #3 without alteration to the stock plugins. Maybe this help us focus on which |
Here are the sources for how Jenkins expects to interact with the container: https://github.com/jenkinsci/jenkins/blob/d111e2ac1658c8fa5fb768e7d1233613b4b9992d/core/src/main/java/hudson/tasks/BatchFile.java |
@toddpi314 have you seen this pull request? jenkinsci/docker-plugin#465 |
And a very interesting Jenkins setup https://github.com/i-net-software/docker-boxes, with some Windows Docker images as well. |
I'll close this issue here as it has to be resolve probably in cygwin / mingw. We have collected a lot of links to other issues to follow the progress there. |
A major weak spot right now for Windows Containers is the support for a POSIX shell that supports TTY.
Installing a POSIX-compliant runtime and
SHELL
statement pointing at an installed shell (bash, sh, zsh) doesn't offer TTY and stdout is only capable on docker without the-t
option. You essentially have to either issue commands with no stdout or not be able to interact.Additionally, the Windows Subsystem for Linux doesn't install on containers.
Real world example of why this is important:
With AWS bringing Windows Containers into Beta (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_Windows.html), this seems like a huge win for MS to sell Cloud Lic for Jenkins users.
BTW, Fantastic work on this container digest. We have all been cultivating this stuff since last fall, but good to see some MVPs organizing the public effort.
The text was updated successfully, but these errors were encountered: