You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Underneath the Docker startup options you might want to add a section about running ShinyProxy in GitHub Codespaces.
The key things to make ShinyProxy to work in GitHub Codespaces are to add docker-in-docker (or docker-outside-of-docker but I have not tested this) and use socat to allow for connections on port 2375.
The following illustrates the steps to make ShinyProxy run in GitHub Codespaces.
Add the docker-in-docker feature in devcontainer.json.
Rebuild container.
Run sudo apt-get update && sudo apt-get install -y socat.
Underneath the Docker startup options you might want to add a section about running ShinyProxy in GitHub Codespaces.
The key things to make ShinyProxy to work in GitHub Codespaces are to add docker-in-docker (or docker-outside-of-docker but I have not tested this) and use
socat
to allow for connections on port 2375.The following illustrates the steps to make ShinyProxy run in GitHub Codespaces.
sudo apt-get update && sudo apt-get install -y socat
.socat -d -v -d TCP-L:2375,fork UNIX:/var/run/docker.sock
. Thanks https://blog.mikesir87.io/2018/10/using-socat-to-see-docker-socket-traffic/wget -P "$HOME" https://www.shinyproxy.io/downloads/shinyproxy-3.0.2.jar
java -jar -Dserver.forward-headers-strategy=native "$HOME/shinyproxy-3.0.2.jar"
Hopefully this might be useful for someone, it took a bit trial and error to figure it out.
The text was updated successfully, but these errors were encountered: