Tyk on Docker

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:26:47 +0000.
Sender:Kasinath Nalla.
Date:Monday, 12 October 2015 22:59:15 UTC+1.

Hi,
I followed the instructions and i am getting below error …any help will be appreciated

The following error was encountered while trying to retrieve the URL: http://testorg.tyk.docker:8888/test-api/
Unable to determine IP address from host name testorg.tyk.docker
The DNS server returned:
Name Error: The domain name does not exist.

Imported Google Group message.
Sender:Martin Buhr.
Date:Tuesday, 13 October 2015 06:15:08 UTC+1.

Hi Kasinath,

Did you follow step 1 in the docker setup guide where you map the testorg.tyk.docker domain to your Docker instance IP address?

Cheers,
Martin


From: Kasinath Nalla [email protected]
Sent: Monday, October 12, 2015 22:59
Subject: tyk on Docker
To: Tyk Community Support [email protected]

  • 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/f1b89e3c-ab31-4187-946b-8e455b1c6527%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Imported Google Group message.
Sender:Kasinath Nalla.
Date:Tuesday, 13 October 2015 20:04:48 UTC+1.

I missed that… Thanks for the response… After that… its working great… here is the current issue

when I do curl on docker machine… it works great… But when I try to access from outside world. its not working… How can I expose that to outside world?

  • show quoted text -

Imported Google Group message.
Sender:Martin Buhr.
Date:Tuesday, 13 October 2015 20:10:57 UTC+1.

Hi Kasinath,

The docker QuickStart is really only meant for a local machine.

If you want to run it with a real domain name (from the outside), first off you’ll need to run it on a host that has an IP visible from the Internet (so nothing behind a firewall or NAT).

Then, get a domain and set the A record to your host IP.

Then modify the QuickStart compose yaml to set the environment variable called DOMAINALIAS to your domain so that when it bootstraps the installation it sets up the nginx templates properly.

You should then be able to run it out on the Internet :wink:

Cheers,
Martin