Coder Social home page Coder Social logo

Comments (2)

lhhunghimself avatar lhhunghimself commented on July 20, 2024

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.

pushkarbajaj9 avatar pushkarbajaj9 commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.