Comments (2)
You can start multiple instances - however they must expose different ports on your host machine.
For example:
docker run --rm -p 6080:6080 -v $pwd/:/data -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/.X11-unix:/tmp/.X11-unix --privileged --group-add root biodepot/bwb
docker run --rm -p 8080:6080 -v $pwd/:/data -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/.X11-unix:/tmp/.X11-unix --privileged --group-add root biodepot/bwb
starts two instances of Bwb, that you can connect to on using localhost:6080 and localhost:8080.
Currently, it is not possible for two browsers to connect to the same instance of Bwb. It is possible to add this feature. It would require changing the nginx config to manage multiple users and launching multiple instances of the backend but I don't see much utility in this compared to launching two separate instances.
If you want a tool inside Bwb to interact multiple users - this should be possible since Bwb does export X11 GUIs from tools to the user, but you would have to open another port and manage the traffic yourself and allow Docker access to all your ports with a --net=host flag when starting Bwb.
Hong
from biodepot-workflow-builder.
Thanks Hong for the quick reply. I did try to expose the tool on different ports to run different instances and it does get deployed successfully. I am using majorly jupyter notebook widgets and the issue is that jupyter notebook container is not able to differentiate between the two different instances on different ports. If i have a jupyter notebook already open in 6080 port instance and then try to open jupyter notebook from 8080 port instance, the notebook invoked from 8080 port still opens in the 6080 port.
from biodepot-workflow-builder.
Related Issues (20)
- Docker cannot run shell scripts with Windows crlf on Linux HOT 3
- Widget builder file picker filepath unused HOT 2
- VNC window size is small after restarting container HOT 4
- Parameters aren't labelled in created widget HOT 1
- Error upon saving an already-saved new widget HOT 1
- Install packages like papermill HOT 1
- W: --force-yes is deprecated, use one of the options starting with --allow instead. HOT 3
- Add 'str list' as input type for widget parameters HOT 2
- no option to set bool flag (true/false) when it is set as an optional parameter HOT 3
- TypeError when adding new widget from existing widget HOT 1
- Required and optional parameters are not passed to container when command field is left empty HOT 2
- Edit Links cannot display all possible links in some cases HOT 1
- Add option to enable/disable VNC disconnect HOT 1
- Bwb new widget from template issue HOT 1
- Dockerfiles not copied when creating new widget and using SaveAs HOT 1
- Password protection on VPC leaves users exposed to attacks
- Saving Workflow HOT 1
- UnknownWidgetDefinition: Widget disappears when adding a parameter with a dash "-" in the name
- Disable Scheduler options while widget is running
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 biodepot-workflow-builder.