Connect external API from inside container


see this instruction :

curl -X GET "" -H "accept: application/json"
(a plumber API)

it works fine on my computer and even inside a minimal container (ubuntu + curl). (in a serveur without shinyproxy)

But If I use shinyproxy, this doesn’t work anymore with error : “curl: (7) Failed to connect to port 8000: No route to host”. It doesn’t work inside a container launched by shinyproxy AND from inside a manualy launched container.

The only configuration I made on docker is this one :
ExecStart=/usr/bin/dockerd -H fd:// -D -H tcp://

exept this issue everything works fine…

Can you please help me ?

Hi @Cervan_Girard,

Regarding the minimal container that did work: did you run it on the same docker host with the same firewall settings?

Also, do you specify a docker network for your shiny apps? If so, does that network have external access, i.e. not the --internal flag?