Problem about setup docker tyk 1.9 (python : command not found)

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:43:36 +0000.
Sender:Yuttana Krittasampan.
Date:Sunday, 17 January 2016 04:14:28 UTC.

Hi All ,

    I have some problems in setup docker for tyk 1.9 , the errors are in attached.
    It is about the setup.sh show errors that it cannot found the python command but finally I got userid/ password/ url but cannot loggin. The error is invalid credential.
    I am not sure it is about the unsuccessfully created organization and others or not.

Thanks
Yuttana K.

Imported Google Group message.
Sender:Martin Buhr.
Date:Sunday, 17 January 2016 11:28:22 UTC.

Hi Yuttana,

The setup.sh expects Python to be present on the system.

Many thanks,

Martin

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/4a23fc5f-d280-4956-9ba4-96285fa7f4fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Martin

        I try tyk 1.9 and run setup. I try to install python on docker  with command
       $ docker pull python
       $ docker run python python --version
       Python 3.5.1

      And I modified setup.sh from python command to docker run python as following pic


    It still has errors as follows


    So i still cannot login to the tyk dashboard. Please kindly advise what I do wrong.

Thanks
Yuttana K.

Hi Yuttana,

You need Python on the host OS (and curl) for that script to work.

Running it via docker means the one container needs to be able to see the other, which makes it a bit complicated.

Simpler solution:

You could do those commands manually, just by SSH ing into the container and running the script against locahlost.

check…python path