Hello,
I would like to run an R Shiny application via Shinyproxy locally first.
My Application is functional, after docking it, it still works with a docker command.
I created a ‘shinyproxy’ image and launched the container but I get the following error message when I click on the application name:
# Error
**Status code:** 500
**Message:** Container did not respond in time
I suspect a problem related to the different ports … notions that I don’t master.
The dockerfile of shiny app looks like :
with the following Rprofile :
local({
options(shiny.port = 3838, shiny.host = "0.0.0.0")
})
The shinyproxy application.yml looks like :
proxy:
port: 8080
authentication: simple
admin-groups: admins
users:
- name: jack
password: password
groups: admins
- name: jeff
password: password
- name: MTB
password: password
group: admins
docker:
internal-networking: true
specs:
- id: shiny_test
display-name: Shiny Test
description: This is a test of shinyproxy container
container-cmd: ["R", "-e", "shinyproxy::shiny_test()"]
container-image: shiny_app_test
container-network: sp-net
logging:
file:
shinyproxy.log
What I tried is the following command :
docker run -d -v /var/run/docker.sock:/var/run/docker.sock --net sp-net -p 8080:8080 shinyproxy_container
All help is welcome