Getting started with ShinyProxy and play-with-docker.com


#1

Does someone has an example on how to demo ShinyProxy on play-with-docker?

So far, I was able to do the following steps

docker pull openanalytics/shinyproxy-demo
git clone https://github.com/openanalytics/shinyproxy-config-examples.git
cd shinyproxy-config-examples/02-containerized-docker-engine/
docker build ./
docker run -p 3838:3838

but I get a “The connection was reset”


#2

Hi @Lodderig,

You need to follow the extra steps as described in the README.md in that folder. In particular, you need to create a docker network:

docker network create sp-example-net

and then also use volumes to map docker’s socket:

docker run -d -v /var/run/docker.sock:/var/run/docker.sock --net sp-example-net -p 8080:8080 shinyproxy-example

After that it should work: you’ll see a link to the open port (8080 above) and can access the shinyproxy.