Git Product home page Git Product logo

Comments (3)

taunometsalu avatar taunometsalu commented on July 25, 2024

Hi Richard, yes, you are close. Some changes are needed:

  • please use -p 3838:3838 instead of -p :3838 when running the container
  • did you literally enter http:/0.0.0.0.3838? There should be double slash and a colon like http://0.0.0.0:3838. Or, if it still doesn't work then you can try http://host.docker.internal:3838 or http://127.0.0.1:3838.

from clustvis.

froggiie avatar froggiie commented on July 25, 2024

Hi, thank you for getting back to me. I figured it out. The problem was that I really didn’t understand how WSL (Windows Subsytem of Linux) worked with the install commands. I now recognise that I could download the docker image, but I hadn’t really performed the subsequent steps because they weren’t working in command prompt (or powershell) natively as UNIX commands (at least not verbatim).

How I installed and ran a local server on a Windows machine:

Install Docker for windows.

Install Ubuntu for Windows 10 (windows store). Set up your user name and password when prompted.

I couldn’t use it native with “docker” commands from the Ubuntu command line because it needed to be configured as WSL2.
So I converted Ubuntu on WSL1 to WSL2. I did this with the commands described here:
https://ubuntu.com/blog/ubuntu-on-wsl-2-is-generally-available

Once this was done, I enabled Ubuntu within the docker app by going to Settings>Resources>WSL integration>turn on Ubuntu

After this, from the Ubuntu command line I inputted the following:

sudo docker pull taunometsalu/clustvis
mkdir ~/customClustvis/
cd ~/customClustvis/
wget https://github.com/taunometsalu/ClustVis/archive/master.zip
unzip master.zip
chmod -R go+rx ~/customClustvis/
sudo docker run -d
--name customClustvis
-p 3838:3838
-v ~/customClustvis/ClustVis-master/:/srv/shiny-server/:ro
taunometsalu/clustvis

Then Docker ran the customClustvis enrironment and I could access it using http://host.docker.internal:3838

Thank you again for this excellent tool and your help!

from clustvis.

taunometsalu avatar taunometsalu commented on July 25, 2024

Glad to hear that you got it working!

And thanks for the detailed steps, maybe they are helpful for somebody else using WSL.

from clustvis.

Related Issues (17)

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.