You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repository for creating a Docker image with RStudio and Jupyter notebook.
3
+
4
+
## Table of Contents
5
+
1.[General Info](#general-info)
6
+
2.[Technologies](#technologies)
7
+
3.[Setup](#setup)
8
+
4.[Usage](#usage)
9
+
5.[References](#references)
10
+
11
+
## General Info
12
+
This repository is used to create a Docker image that includes RStudio and Jupyter notebook. The [Dockerfile](./.devcontainer/Dockerfile) uses the ghcr.io/lescai-teaching/bigdata-rstudio:1.4.0 image as a base and jupyter/r-notebook:ubuntu-22.04 image as main, and copies over the necessary libraries and packages.
13
+
14
+
## Technologies
15
+
Project is created with:
16
+
* Docker
17
+
* RStudio
18
+
* Jupyter notebook
19
+
20
+
## Setup
21
+
To build the Docker image, run the following command:
22
+
23
+
```bash
24
+
bash .devcontainer/build_command.sh
25
+
```
26
+
27
+
## Usage
28
+
Once the Docker image is built, you can run a container with the following command:
29
+
30
+
```bash
31
+
docker run -p 8888:8888 ghcr.io/astrabert/rstudio-container:latest
32
+
```
33
+
34
+
This will start a container and bind the container's port 8888 to your machine's ports 8888, respectively. You can then access the Jupyter notebook and RStudio through your web browser.
0 commit comments