Skip to content

Commit

Permalink
fix volcume Permission denied issue, with some little changes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Polarnova committed Nov 30, 2023
1 parent ca317fc commit f54bbed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN /bin/bash -c "source activate $CONDA_ENV_NAME && \
mamba install xeus-cling -c conda-forge --yes"

# Switch back to non-root user
USER $NB_UID
# USER $NB_UID

#Install the Kernel Spec
RUN /bin/bash -c "source activate $CONDA_ENV_NAME && \
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
# Cling-Jupyter Docker

This repository provides a Dockerfile for running Jupyter Notebooks with [xeus-cling](https://github.com/jupyter-xeus/xeus-cling).
This repository provides a Dockerfile for running [cling](https://github.com/root-project/cling) with [Jupyter Notebooks](https://jupyter.org/) using [xeus-cling](https://github.com/jupyter-xeus/xeus-cling).

## Getting Started

### Pull & Run

To pull the Docker image, use the following command:
```bash
docker pull p01arn0va/cling-jupyter
docker run -it -v ~/Documents/workspace:/home/jovyan/work -p8888:8888 --rm cling-jupyter:latest
```

Here is an example of how to run the Docker image:
```bash
docker run -it --rm -p8888:8888 -v $PWD:/home/jovyan/work p01arn0va/cling-jupyter
```

### Building the Docker Image

To build the Docker image locally, run the following command in the repository's root directory:
To build the Docker image locally, run the following command in the repositorys root directory:

```bash
docker build -t cling-jupyter .
Expand Down

0 comments on commit f54bbed

Please sign in to comment.