RshinyProxy cannot pull 1 image (from dockerhub) while the 2 others are pulled successfully and work correctly. I got the following error :
Status code 500 - Message: Container did not respond in time
Stack Trace:
eu.openanalytics.containerproxy.ContainerProxyException: Container did not respond in time
Full stack can be provided if necessary.
- The image
rocker/shiny
is not pulled - I have tested
rocker/shiny
in docker mode, and it works fine with the following command :
docker run --rm -p 32994:3838 -v /data/r_test_sami/:/srv/shiny-server/ -v /data/r_test_sami/:/var/log/shiny-server/ -v /data/r_test_sami/:/data/r_test_sami/ rocker/shiny
Is there something missing or incorrect in application.yml that prevents shinyproxy from pulling the image ?
Content of my 2 files are as follows :
application.yml (01_hello and 06_tabsets work fine and 08_helloworld fails)
proxy:
title: Open Analytics Shiny Proxy
# landing-page: /
port: 8080
authentication: none
admin-groups: scientists
# Example: 'simple' authentication configuration
users:
- name: jack
password: password
groups: scientists
- name: jeff
password: password
groups: mathematicians
# Example: 'ldap' authentication configuration
# Docker configuration
docker:
#cert-path: /home/none
#url: http://localhost:2375
#port-range-start: 20000
internal-networking: true
container-network: udat-net
specs:
- id: 01_hello
display-name: Hello Application
description: Application which demonstrates the basics of a Shiny app
#container-cmd: ["R", "-e", "shinyproxy::run_01_hello()"]
container-image: openanalytics/shinyproxy-demo
container-network: "${proxy.docker.container-network}"
access-groups: [scientists, mathematicians]
- id: 06_tabsets
display-name: Tab sets
container-cmd: ["R", "-e", "shinyproxy::run_06_tabsets()"]
container-image: openanalytics/shinyproxy-demo
container-network: "${proxy.docker.container-network}"
access-groups: scientists
- id: 08_helloworld
display-name: Hello world
container-cmd: ["R", "-e", "shiny::runApp('/srv/shiny-server/', host = '0.0.0.0')"]
container-image: rocker/shiny
container-network: "${proxy.docker.container-network}"
access-groups: scientists
container-volumes: ["/data/r_test_sami/:/srv/shiny-server/"]
container-volumes: ["/data/r_test_sami/:/var/log/shiny-server/"]
container-volumes: ["/data/r_test_sami/:/data/r_test_sami/"]
logging:
file:
/data/r_test_sami/shinyproxy.log
shinyproxy-docker-compose.yml
version: '2.4'
services:
shinyproxy:
container_name: shinyproxy
image: openanalytics/shinyproxy:2.3.1
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./application.yml:/opt/shinyproxy/application.yml
user: "0:0"
privileged: true
ports:
- 35624:8080
networks:
- udat-net
networks:
udat-net:
name: udat-net