• Docker exited with code 139 (Solved)

     Before this, I have used a Window container for docker and never face issues with code 139.

    Then I changed to WSL (Windows Subsystem for Linux) container for the purpose to improve the performance. 




    But by using WSL I can't start a certain image, the container keeps restarting. This restarting state makes it is impossible to see the container logs by using the command $ docker logs -f <container>

    Hence instead of using $ docker-compose up -d I use $ docker-compose up so I can see the logs during the start.





    sample


    So somewhere I read this 139 related to system unable to access so location due to permission issues. Then to solve this issue at WSL by updating the .wslconfig by adding 
    kernelCommandLine = vsyscall=emulate

        Step 1 : Create a file named .wslconfig in your user directory
        Ex:- C://users/[your user name]/.wslconfig

        Step 2 : Add following line to the .wslconfig file


    kernelCommandLine = vsyscall=emulate



  • 0 comments:

    Post a Comment

    GET A FREE QUOTE NOW

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    ADDRESS

    4759, NY 10011 Abia Martin Drive, Huston

    EMAIL

    contact-support@mail.com
    another@mail.com

    TELEPHONE

    +201 478 9800
    +501 478 9800

    MOBILE

    0177 7536213 44,
    017 775362 13