Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Tip about consuming a service from IRIS container using Business Operation

Article
David Reche · Apr 5, 2020 1m read

Tip about consuming a service from IRIS container using Business Operation

I have Mac OSX and Docker Desktop 2.2 (Engine 19.03).

I have a REST service running on my localhost (Mac) and I was trying to consume it from IRIS running in a Docker container.

If you try something like that don't use localhost as HTTP Server setting (using a Business Operation for example).

You have to use host.docker.internal.See this:

https://docs.docker.com/docker-for-mac/networking/#use-cases-and-workarounds

Hope this helps !

#API #Containerization #Docker #REST API #InterSystems IRIS

Source URL:https://community.intersystems.com/post/tip-about-consuming-service-iris-container-using-business-operation