diff --git a/Dockerfile b/Dockerfile index 10cc9a7..cd9dca6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,6 @@ RUN conda install --yes --quiet --channel conda-forge \ # Install JupyterLab Git Extension RUN pip install jupyterlab-git -# change to root user -USER root - # Create working directory for mounting volumes RUN mkdir -p /opt/notebooks diff --git a/README.md b/README.md index 6c190d0..ddffea6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Simple single-user container image for: ## Quickstart usage: ``` -docker run --rm --user root -v $(pwd):/opt/notebooks -p 8888:8888 ubcdsci/jupyterlab +docker run --rm -v $(pwd):/opt/notebooks -p 8888:8888 ubcdsci/jupyterlab ``` ## Documentation @@ -19,5 +19,3 @@ The Jupyter Lab working directory is set to `/opt/notebooks`, so volumes should be mounted there to be accessible via the container's Jupyter Lab. The port exposed is `8888`. When the container is run, users need to copy the URL that looks like `http://127.0.0.1:8888/lab?token=d9704724bf0267d3d9262698ffbb88123633f8c8f4b1a305` into their web browser to access Jupyter Lab. - -`--user root` is currently needed when running the container for mounting volumes. This may be removed in future versions.