Ching-Chuan Chen's Blogger

Statistics, Machine Learning and Programming

0%

Start an RStudio Server With R built on MKL

安裝Docker-ce,並啟動。然後pull image,就可以啟動了。

1
2
3
4
5
6
7
8
9
10
11
12
# install docker
yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce -y
systemctl enable docker
systemctl start docker

# pull images and start
docker pull jamal0230/centos-rstudio-mkl-r:latest

# run RStudio server with R built on MKL. The account is user with password password.
docker run -d -p 8787:8787 -e USER=user -e PASSWORD=password --name rstudio jamal0230/centos-rstudio-mkl-r:latest