Giter VIP home page Giter VIP logo

Comments (7)

 avatar commented on July 1, 2024

For me with Win10 and Powershell menu opens then closes automatically. Tried to run it from Git bash , it complains about tty and suggest to use winpty. Tried ,not worked either. So in Hyperv I created an Ubuntu as virt machine and runnning it from there. It works well with same type of Ubuntu.

from ansible-interactive-tutorial.

FelixRodriguezJara avatar FelixRodriguezJara commented on July 1, 2024

Thank you for your answer, atekka85epam! Yes, that was the behaviour for me too, I was trying to avoid having to create a new VM, that´s why I tried with the Windows 10 UNIX subsystem.

Thank you!

from ansible-interactive-tutorial.

turkenh avatar turkenh commented on July 1, 2024

Other open issues seems to be related but I could not find time to work on this yet.

Also please note, you can always run the tutorial on http://play-with-docker.com

from ansible-interactive-tutorial.

turkenh avatar turkenh commented on July 1, 2024

Ah, this one is different than other issues, I'll try to find a similar setup and try to reproduce.

from ansible-interactive-tutorial.

FelixRodriguezJara avatar FelixRodriguezJara commented on July 1, 2024

from ansible-interactive-tutorial.

dwettstein avatar dwettstein commented on July 1, 2024

This issue still exists. It looks like it has something to do with mounted paths:
image

from ansible-interactive-tutorial.

dwettstein avatar dwettstein commented on July 1, 2024

OK, got it to run using a workaround. I simply replaced the paths within the file tutorial.sh to absolute Windows paths (double backslash instead forward slash).

On my machine (Windows, using Git For Windows Bash) the variable BASEDIR is set to /c/Users/my-user/ansible-interactive-tutorial. So I added the following to the file tutorial.sh:

BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BASEDIR_WIN="C:\\Users\\my-user\\ansible-interactive-tutorial"

NOF_HOSTS=3
NETWORK_NAME="ansible.tutorial"
WORKSPACE="${BASEDIR}/workspace"
WORKSPACE_WIN="${BASEDIR_WIN}\\workspace"
TUTORIALS_FOLDER="${BASEDIR}/tutorials"
TUTORIALS_FOLDER_WIN="${BASEDIR_WIN}\\tutorials"

And within the function runTutorialContainer, I referenced to the *_WIN variables for the docker run command.

See also:

from ansible-interactive-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.