Docker container for shiny server 1.5.6.875
"A web application framework for R"
"Turn your analyses into interactive web applications"
Shiny server: use to host and manage shiny application (R - powered web application)
To install docker in Ubuntu 16.04 use the commands:
$ sudo apt-get update
$ sudo wget -qO- https://get.docker.com/ | sh
To install docker in other operating systems check docker online documentation
To run container use the command below:
$ docker run -d -p 3838:3838 quantumobject/docker-shiny
To run the container with your own Shiny applications located in a directory on your system, expose that directory path to the Shiny server inside the container:
$ docker run -d -p 3838:3838 -v <LOCAL DIRECTORY PATH>:/srv/shiny-server quantumobject/docker-shiny
When modified or adding files to <LOCAL DIRECTORY PATH> you need to restart the container to allow it to change the files to the right ownership and permission.
After that check with your browser at addresses plus the port 3838 :
- http://host_ip:3838/
To access it , configured and edit files inside of the container :
$ docker exec -it container-id /bin/bash
note : it was created by using quantumobject/docker-baseimage and installing the package R and Shiny-server from rstudio.com . RStudio is a trademark of RStudio, Inc.
About Shiny Server: shiny.rstudio.com
To help improve this container docker-shiny
Shiny Server Administrator's Guide
Example of Shiny Server
For additional info about us and our projects check our site www.quantumobject.org