Git Product home page Git Product logo

Comments (4)

kagestrife avatar kagestrife commented on August 16, 2024 1

sorry for the delay. On the last matter I got the reply needed. I will close the issue now. Thanks a lot!

from shiny-wordcloud.

flaviobarros avatar flaviobarros commented on August 16, 2024

Let's start with the easier ones:

c) In your example you are exposing the port 80 and you have created a conf file which listens to the same port. Can you give more info or similar examples about the .conf file? Can you explain the last CMD command you are giving in the Dockerfile?

You can think of a docker image as a linux box (a docker file is just a "recipe" to create docker images). You can expose or block some ports, like 80, and you can have an app that USES this port or NOT. So we have to expose 80 in the Dockerfile but we have to tell to shiny server to listen to 80 too.

Regarding other examples of configurations files for Shiny I suggest you to take a look at the official documentation of Shiny.

a) Why are you using r-base instead of, lets say, rocker/shiny? Are there differences? Is there a particular reason you picked the first?

Well, this is what is working now. You can try others. I GUESS that should work. In fact I started this dockerfile from rocker/shiny.

b) Why are you downloading debian files? Are they needed for running the containers? Are they connected with the proper run of the r shiny apps? If so, how?

We need some packages to install the shiny server. You can think of a docker file as the commands you should use on the terminal to install a shiny server and expose the 80 port. Try yourself in a empty VM or in you machine, or even in a interactive docker session.

OBS: Please, if the answer is ok you can close the issue. Feel free to do any more question if needed.

from shiny-wordcloud.

kagestrife avatar kagestrife commented on August 16, 2024

Hey, thank you for the replies. I've come up with more questions. I have come across many problems trying to use packages from the bioconductor site. What needs to be done, according to their docs, is to run an r script like this:

RUN Rscript -e 'source("http://bioconductor.org/biocLite.R");library(BiocInstaller); biocLite("flowCore", dep = TRUE)'

what i have added to the rocker Dockerfile are these C libraries
libxml2-dev
libxml2
mesa-common-dev
libglu1-mesa-dev \
freeglut3-dev
hdf5-tools
libhdf5-openmpi-dev
libhdf5-serial-dev
needed for various packages from CRAN or bioconductor. Still, I get a warning about the rgl http://imgur.com/a/QQ7Bx (no errors though) and when I try to run a simple container i get this
"standard_init_linux.go:175: exec user process caused "exec format error". I am guessing this has to do something with the rgl error I posted.

from shiny-wordcloud.

flaviobarros avatar flaviobarros commented on August 16, 2024

In this case I think the best option is discuss the issue on your own repo.

Could you send me your repo as I can see your code?

from shiny-wordcloud.

Related Issues (9)

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.