Comments (13)
from shinyproxy.
#33 fixes this by making the default to communicate with docker through the socket.
from shinyproxy.
Update: I am trying unix:///var/run/docker.sock
but untested right now
from shinyproxy.
I'm using docker-compose, on a single host btw
if the spotify docker client supports UNIX_SCHEME then why do we still need an external bridge network?
from shinyproxy.
Shinyproxy still needs to communicate with the underlying containers, not just the docker daemon. The bridge network is for the former.
from shinyproxy.
AFAIK shiny proxy needs to spin up its own containers, and it can do this with the docker daemon socket,
can you educate me on what "underlying containers" means?
from shinyproxy.
Shinyproxy spins up the containers and then forwards requests to them. For instance, shinyproxy might spin up a container with the name boring_cori
. Then, a request to localhost:8080/boring_cori/subpath
would be forwarded to /subpath
in the container. That requires a network connection.
from shinyproxy.
@PlasmaPower if my shinyproxy and shiny are using docker-compose with their own default
bridge network .. will all containers that shinyproxy spins up be in the same network? which network do you attach your boring_cori
containers to ?
from shinyproxy.
@dragoonis You'll have to manually set the docker-network
option to the network that docker compose creates. For instance, if the docker-compose.yml
is in a folder named example_app
, the default network will be named example_app_default
.
from shinyproxy.
@PlasmaPower okay - i have tried the unix socket syntax but i was getting permission denied (500) on creating a container, so I modified the docker daemon and now my docker connection string is 172.x.x.x:PORT
The outstanding issue for us (OasisLMF team) is:
The shiny_proxy makes containers on the fly, but we don't know how to correlate the containers made on-the-fly with the containers in the docker-compose network, therefore when we do our teardowns it keeps alive the on-the-fly ones up and running
What can we tweak/do to easily detect which containers were made on the fly, so we can tear them them too?
- we are loading up in a docker-compose.yml file
- our docker-compose containers are:
flamingo_server, flamingo_shiny and shiny_proxy
- our teardowns are:
docker-compose down -v
from shinyproxy.
from shinyproxy.
Unix sockets can now be used either by specifying docker.host: unix:///var/run/docker.sock
or by omitting the docker.host
setting entirely.
This functionality was enabled by PR #33 as @PlasmaPower mentioned.
from shinyproxy.
@fmichielssen just to be clear, this option could be used instead of url
in application.xml
?
from shinyproxy.
Related Issues (20)
- SSL Termination with the new ECS backend HOT 5
- Shinyproxy not waiting for pod to start up before issuing failure HOT 1
- ShinyProxy pod spin up in Kubernetes cannot be drained HOT 3
- Killing and restart break pre-initialized containers. HOT 6
- ShinyProxy Logos not displayed when using CSS Template (3.1.0) HOT 2
- Multiple ShinyProxy Servers estart HOT 4
- How to use the main address after setting context-path HOT 1
- Invalid Groups-Expression in Web Service
- Invalid Groups-Expression in Web Service HOT 2
- Configuration files inside docker volume HOT 6
- Shinyproxy doesn't shut the containers HOT 1
- Container restart policy
- unable to logout HOT 1
- Container stops intermittently - Disruptive behaviour HOT 4
- grafana dashboard empty but prometheus metrics available HOT 5
- Scrolling Issue with reactable in Shiny Application Deployed on ShinyProxy HOT 1
- "Default" added to thge app name in browser tab HOT 2
- Modular Application Loading Preinitialized Containers
- Uptime/Failure Monitoring
- Reactable elements not loading HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinyproxy.