Skip to content

jiankaiwang/rstudio-mran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rstudio-MRAN-Docker

Build a docker image to run a rstudio server docker and the core of rstudio is based on MRAN(https://mran.microsoft.com/).

demo

Rreparation

Develop

Build a Docker Image

$ git clone https://github.com/jiankaiwang/rstudio-mran.git
$ cd ./rstudio-mran
$ sudo docker build -t rstudio-mran .

Run a Container

# list available docker images
$ sudo docker images

# list running containers
$ sudo docker ps -a

# run the container
$ sudo docker run -d -p 8787:8787 --name rstdmran rstudio-mran

# stop the container
$ sudo docker stop rstdmran

# restart the container
$ sudo docker restart rstdmran

# remove the container
sudo docker rm rstdmran

Interact with Container

$ sudo docker exec -it rstdmran /bin/bash

Service

  • Pull from the dockerhub.
# pull from the docker
$ sudo docker pull jiankaiwang/rstudio-mran:latest
  • Browser the server localhost:8787 and Login as the guest:guest.
# start the container
$ sudo docker run -d -p 8787:8787 --name rstdmran jiankaiwang/rstudio-mran

About

Build a docker image to run a rstudio server docker and the core of rstudio is based on MRAN.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages