RshinyProxy无法从dockerhub中拉出3个镜像中的1个

问题描述

RshinyProxy无法拉出1个映像(从dockerhub),而其他2个已成功拉出并正常工作。 我得到的错误是:

Status code 500 - Message: Container did not respond in time
Stack Trace:
eu.openanalytics.containerproxy.ContainerProxyException: Container did not respond in time

如有必要,可以提供完整的堆栈。

  • 未拉出图像rocker/shiny
  • 我已经在docker模式下测试了rocker/shiny,并且可以通过以下命令正常工作:
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

application.yml中是否存在某些东西缺失或不正确,从而阻止了Shinyproxy提取图像?

我的2个文件的内容如下:

application.yml(01_hello和06_tabsets正常工作,而08_helloworld失败)

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","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","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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...