Sign inSign up

aquabiota/notebook-r

By aquabiota

•Updated almost 9 years ago

aquabiota/notebook-base + Rkernel

Image
1

2.2K

aquabiota/notebook-r repository overview

⁠WARNING:

⁠Not for production. Only test and develop

** Note: ** if using Windows change $(pwd) to full path of your selected directory to be mounted as a shared volume. You might need to escape the windows backslash of the path. eg. C:\\path\\to\\shared\\workspace . Avoid using spaces to create your workspace subdirectory.

Volumes

  • /home/aqua/data to mount data that you want to have available for the notebook
  • /home/aqua/workspace/notebooks to keep your notebooks. DEPRECIATED
  • /home/aqua/workspace/git to mount your git directory and make it available for the notebook.

The container ipython_config.py was preloaded with c.InteractiveShellApp.exec_lines = ['import sys; sys.path.append('/home/aqua/workspace/git/')

⁠iterative mode

docker run -i -t -v $HOME/data:/home/aqua/data -v $(pwd):/home/aqua/workspace/notebooks --name jupyter -p 8889:8889 aquabiota/notebook-r jupyter notebook --ip='*' --port=8889  --no-browser

** Then copy the random generated token and use it to login.** Open your browser and go to: http://localhost:8888⁠

⁠detached

docker run -d -v $HOME/data:/home/aqua/data -v $(pwd):/home/aqua/workspace/notebooks --name jupyter -p 8889:8889 aquabiota/notebook-r jupyter notebook --ip='*' --port=8889  --no-browser

⁠with git volume enabled

docker run -d -v $HOME/data:/home/aqua/data -v $AQUABIOTA_GIT_DIR:/home/aqua/workspace/git -v $(pwd):/home/aqua/workspace/notebooks --name jupyter -p 8889:8889 aquabiota/notebook-r jupyter notebook --ip='*' --port=8889  --no-browser 


ENV AQUABIOTA_USER to be implemented

Then use the docker logs <container_id> : docker logs jupyter

copy and paste the random token into your browser at: http://localhost:8888⁠

Tag summary

Content type

Image

Digest

Size

3.1 GB

Last updated

almost 9 years ago

docker pull aquabiota/notebook-r