显示shinyproxy页面,在身份验证之后,我可以看到nav栏,两个链接到两个应用程序。然后,当我单击其中之一时,在堆栈中得到了en错误500 /“未能启动容器”,我可以看到:
Caused by: java.io.IOException: Permission denied这是我的配置
application.yml:
proxy:
title: Open Analytics Shiny Proxy
# landing-page: /
port: 8080
authentication: simple
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
specs:strong text
- 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
access-groups: [scientists, mathematicians]
- id: 06_tabsets
container-cmd: ["R", "-e", "shinyproxy::run_06_tabsets()"]
container-image: openanalytics/shinyproxy-demo
access-groups: scientists
logging:
file:
shinyproxy.logshinyproxy-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
privileged: true
ports:
- 35624:8080发布于 2021-08-26 08:26:07
我也有同样的问题
sudo chown $USER:docker /run/docker.sock
但是,我不明白为什么需要这样做,因为/run/docker.sock已经是root:docker了。
这是在WSL2下面。
https://stackoverflow.com/questions/64099538
复制相似问题