Exposed container to the world

then the app countainer is launched exposed: 0.0.0.0:20000->3838/tcp is there any way to launch it like 127.0.0.1:20000->3838/tcp?

its like launching the container with the parameter -p 127.0.0.1:20000:3838

thanks

fixed by using dockerised shinyroxy ushing this setup: All links open the same app

1 Like

While I have not tested it, I think it would work if you start the app at the designated address and modify the Rprofile.site to reflect this. So from

local({
   options(shiny.port = 3838, shiny.host = "0.0.0.0")
})

to

local({
   options(shiny.port = 3838, shiny.host = "127.0.0.1")
})