Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rstudio
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
rocker
rstudio
Commits
dff37a27
Unverified
Commit
dff37a27
authored
4 years ago
by
Carl Boettiger
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
807ef3ff
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rstudio/README.md
+6
-7
6 additions, 7 deletions
rstudio/README.md
with
6 additions
and
7 deletions
rstudio/README.md
+
6
−
7
View file @
dff37a27
...
...
@@ -52,19 +52,18 @@ Navigate to <http://localhost:8787> and you should be logged into RStudio as
the
`rstudio`
user without needing a password.
### Add shiny server
on start up with `e ADD=shiny`
### Add shiny server
docker run -d -p 3838:3838 -p 8787:8787 -e ADD=shiny -e PASSWORD=yourpasswordhere rocker/rstudio
shiny server is now running on
`localhost:3838`
and RStudio on
`localhost:8787`
.
If you are building your own Dockerfiles on top of this stack, you should simply include the RUN command:
RUN /rocker_scripts/install_shiny_server.sh
Note: this triggers shiny install at runtime, which may require a few minutes to execute before services come up.
If you are building your own Dockerfiles on top of this stack, you should simply include the RUN command
:
This works on any rocker-versioned image with R >= 4.0.0.
NOTE: older images tagged with R version 3.x.x will need to do
:
RUN export ADD=shiny && bash /etc/cont-init.d/add
Then omit the
`-e ADD=shiny`
when running
your image and shiny should be installed and waiting on port 3838.
Run
your image and shiny should be installed and waiting on port 3838.
**Note**
: Please see the
`rocker/shiny`
and
`rocker/shiny-verse`
images for
setting up a shiny server in a separate container from RStudio.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment