Skip to content

Commit 564b1f2

Browse files
authored
Create README.md
1 parent d281160 commit 564b1f2

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# rstudio-container
2+
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.
35+
36+
## References
37+
* Docker: https://www.docker.com/
38+
* RStudio: https://www.rstudio.com/
39+
* Jupyter notebook: https://jupyter.org/

0 commit comments

Comments
 (0)