Configuring docker network


#1

Hi,
Is there a way to configure the network for the docker container?, i.e. equivalent to:
docker run --net=host

Thanks,
Adiel


#2

Hi @Adiel_Loinger,

Many thanks for your interest in ShinyProxy. We currently only have a docker-dns field which is the equivalent of docker run --dns. Do you mean docker run --network ? I did not find any reference to a --net option in the docs here. We could definitely add this option.

Best,
Tobias


#3

Thanks @tverbeke.
Yes, I meant --network.

Adiel


#4

Hi @Adiel_Loinger,

ShinyProxy now (version 0.8.6) supports the equivalent of docker run --network in a new (optional) field docker-network that can be specified per Shiny app. See https://shinyproxy.io/downloads/

Can you let us know whether it works as intended for you?

Best,
Tobias


#5

Thanks @tverbeke! I appreciate your help.
Where should this new field be specified? under the docker section? Under apps?
Thanks,
Adiel


#6

Hi @Adiel_Loinger,

Since for every application one can (potentially) launch a container from a different image, docker-network is configured a the level of the individual application. See https://shinyproxy.io/configuration/#apps

Best,
Tobias


#7

Thanks @tverbeke.
I tried it out, but I get a “Container did not respond in time” error message.

Adiel