|
a |
|
b/inst/extdata/docker_desktop_instructions.md |
|
|
1 |
## Docker Desktop Instructions |
|
|
2 |
|
|
|
3 |
1. Install Docker Desktop application from [https://www.docker.com/products/docker-desktop/](https://www.docker.com/products/docker-desktop/). |
|
|
4 |
|
|
|
5 |
2. Pull the docker image from Docker Hub using the following command on the terminal: |
|
|
6 |
|
|
|
7 |
``` |
|
|
8 |
docker pull amanukyan1385/rstudio-voltron:main |
|
|
9 |
``` |
|
|
10 |
|
|
|
11 |
3. Open Docker Deskop app and go to `Images` |
|
|
12 |
|
|
|
13 |
4. Find `amanukyan1385/rstudio-voltron:main` and click `Run` on the right. |
|
|
14 |
|
|
|
15 |
5. Enter `8787` to Ports, `PASSWORD` to `Variable` and `yourpassword` (you can also give a custom password) to `Value` under Environment variables. If you want to add folders to the docker image, you can update `Volumes` by entering the path to the folder in your local machine in `Host path`, and then by entering the path in the docker container under `Container path` (e.g. /home/rstudio/workshop/). |
|
|
16 |
|
|
|
17 |
6. Click `Run` |
|
|
18 |
|
|
|
19 |
7. Start the RStudio session from the browser at `http://localhost:8787/` and enter `rstudio` as username and `yourpassword` as password. |