Public | Automated Build

Last pushed: 3 months ago
Short Description
wradlib docker images
Full Description

wradlib using docker

What

  • centos:7 based docker image
  • miniconda3 python3.6 with dedicated wradlib environment
  • wradlib dependencies
  • notebook dependencies
  • x11 stack
  • su-exec

Build

docker build -t wradlib .

Use

$ docker run -i -t -p 8888:8888 -v /host/path/to/notebooks:/home/notebooks -v /host/path/to/wradlib-data:/home/wradlib-data -e WRADLIB_DATA=/home/wradlib-data wradlib:latest /opt/conda/envs/wradlib/bin/jupyter notebook --notebook-dir=/home/notebooks --ip='*' --port=8888 --no-browser

This command starts a docker container with the following presets:

  • open port 8888 for notebook server connections
  • mounts the host /host/path/to/notebooks to the /home/notebooks folder inside the container
  • mounts the host /host/path/to/wradlib-data to the /home/wradlib-data folder inside the container
  • set the WRADLIB_DATA environment variable pointing to the specified folder
  • start the notebook server

The full HTTP address including authentification token will be prompted in the notebook server log on the screen. Just connect with your local browser and you are done.

Docker Pull Command
Owner
wradlib
Source Repository

Comments (0)