none
stdout not work well in windowsserver_core container? RRS feed

  • Question

  • sed.exe in git-for-windows cannot work properly in windows container, after the debug, I found the minimal test case for windows container(compile with gcc in cygwin).

    #include "stdio.h"

    int main() {
    printf("hello world");
    }

    It cannot display on the console in windows container,but can work on the container host. And with the same codes compiled by vs and mingw it can display properly. And the sed compiled by mingw works well in windows container, but compiled by cygwin or in git cannot work since the stdout not work.

    The container host is windows 2016 rtm, and the image I used was windowsservercore.  Anyone know how to solve it?










    • Edited by shiyan2016 Monday, December 5, 2016 5:56 AM
    Thursday, December 1, 2016 8:39 AM