Comments (4)
shiny-verse:latest
uses the same S6 init system as on the RStudio instances. The docker instance should still run in the same way, the running instance should be listed by docker ps
as before. You'll have to give us more details about how you are running your Dockerfile for us to debug -- both images seem ok on my end. Re-open as needed here!
from shiny.
I attached my Dockerfile here.
FROM rocker/shiny-verse:latest
RUN apt-get update && apt-get install -y \
sudo \
pandoc \
pandoc-citeproc \
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssl-dev \
libssh2-1-dev \
cron
RUN R -e "install.packages(c('shiny','shinyBS','shinydashboard','shinyjs','shinyWidgets','shinyTime'))"
RUN R -e "install.packages(c('plyr','dplyr','tidyr','datasets','reshape2','data.table','DT','taRifx','DataCombine'))"
RUN R -e "install.packages(c('xts','lubridate','readxl','zoo','magrittr','purrr','devtools','RODBC'))"
RUN R -e "install.packages(c('dygraphs','ggplot2','googleVis','plotly','flexdashboard'))"
RUN R -e "install.packages(c('leaflet','sp','RgoogleMaps','AzureStor','AzureRMR'))"
RUN R -e "install.packages(c('htmlwidgets','digest','RPostgreSQL','scales','foreign','formattable','stringr','ISOweek','fst'))"
ADD wrapper.sh /wrapper.sh
RUN chmod 755 /wrapper.sh
ENV TZ=Asia/Singapore
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY ./TestPlant /srv/shiny-server/TestPlant
EXPOSE 3838
RUN sudo chown -R shiny:shiny /srv/shiny-server
ENTRYPOINT sh wrapper.sh
docker build -t test_ui_ver4.0:ver4.0 testUI_ver4.0
docker run --name TestPlant --rm -d -p 38381:3838 test_ui_ver4.0:ver4.0
docker ps
when using "FROM rocker/shiny-verse:latest", I cannot get anything when docker ps
PS E:\Test\rstudioshiny> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
but with "FROM rocker/shiny-verse:3.6.3", I can get below:
PS E:\Test\rstudioshiny> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
47913b545d0d test_ui_ver4.0:ver4.0 "/bin/sh -c 'sh wrap…" 4 seconds ago Up 3 seconds 0.0.0.0:38381->3838/tcp TestPlant
I suspect the issue is with the library RODBC, as version 1.3-16 works only for R version 3.6.3 and below. When I install the package RODBC as from above Dockerfile, without specifying the version, it is getting the latest version of 1.3-17, which does not work with R version of 3.6.3:
package RODBC is not available (for R version 3.6.3)
Not sure if I am clear in the explanations. It would be excellent to get the "FROM rocker/shiny-verse:latest" to produce the container when docker ps, as I need to get that package RODBC to work.
Thanks.
from shiny.
shiny-verse:latest
uses the same S6 init system as on the RStudio instances. The docker instance should still run in the same way, the running instance should be listed bydocker ps
as before. You'll have to give us more details about how you are running your Dockerfile for us to debug -- both images seem ok on my end. Re-open as needed here!
Please see my above comments.
Thanks.
from shiny.
It seems that the script you have set as the ENTRYPOINT
is not functioning properly.
As mentioned in the comments above, rocker/shiny images =>4.0.0 have S6's /init
set to the CMD
, so your shell script wrapper.sh
may not be handling it correctly.
Try to run it without setting the ENTRYPOINT
from shiny.
Related Issues (20)
- /usr/bin/shiny-server.sh: no such file or directory error HOT 2
- Shiny version HOT 2
- Remove /tmp/downloaded_packages HOT 4
- no xtail in Shiny:Devel HOT 1
- New Version of Shiny Server HOT 5
- Update shiny-verse to later R-ver HOT 3
- nginx reverse proxy - shiny server issue HOT 1
- request for merge of shiny-verse and verse (i.e. Tidyverse, LaTeX, and Shiny all together) HOT 2
- Can't read environment variable set in docker-compose HOT 5
- Permission denied when running rocker/shiny-verse and rocker/shiny images HOT 4
- Regression for running as non-root user? HOT 6
- [Resolved] Where is application output? print, logging, etc. HOT 2
- Security Vulnerabilities HOT 3
- rocker/shiny-verse latest vs 3.6.3 HOT 1
- Provide a bootstrap endpoint HOT 1
- doesn't work on ARM architecture HOT 3
- Basic setup for 3.6.3 does not work for 4.0.3? HOT 1
- Missing git tags HOT 1
- Unable to save to mounted volume HOT 1
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 shiny.