Image of Jupyterhub server with full environment for all of the KnowEnG pipelines.
1.1K
Dockerfile on GitHub (requires login)
Before starting the knoweng_jupyterhub server container check to be sure it is not running.
docker ps -a
if "knoweng_jupyterhub" is on that list you must stop and remove it first.
docker stop knoweng_jupyterhub
docker rm knoweng_jupyterhub
( Create a directory to run the server so that the files won't clutter up your other directories ) 1 Change to the directory where you will mount the server.
2 Create the container; it will be pulled automatically.
docker create -p 8000:8000 --name=knoweng_jupyterhub -v `pwd`:/srv/jupyterhub_mount -i knowengdev/jupyterhub_knoweng:knoweng_jupyterhub_server_with_R_05_25_2018
3 Start the container.
docker start knoweng_jupyterhub
4 Start the server.
docker exec -w /srv/jupyterhub knoweng_jupyterhub ./simple_start &> jupyterhub.log &
5 Copy this URL http://localhost:8000 into a browser window
docker exec -i knoweng_jupyterhub passwd usernameServer Admin illustrated help
1 Run the save users script.
docker exec -i knoweng_jupyterhub /scrp/save_users
2 Copy the users data to the mounted directory.
docker exec -i knoweng_jupyterhub mv /root/move /srv/jupyterhub_mount/
docker stop knoweng_jupyterhub
docker rm knoweng_jupyterhub
1 Create a container with a new name in the directory were the users are saved ( /move).
docker create -p 8000:8000 --name=knoweng_jupyterhub_II -v `pwd`:/srv/jupyterhub_mount -i knowengdev/jupyterhub_knoweng:knoweng_jupyterhub_server_05_04_2018
docker start knoweng_jupyterhub_II2 Copy the saved user files into the new container.
docker exec -i knoweng_jupyterhub_II mv /srv/jupyterhub_mount/move /root/move_in
3 Reinstall the saved user files.
docker exec -i knoweng_jupyterhub_II /scrp/restore_users
4 Start the server with the newly installed users.
docker exec -w /srv/jupyterhub knoweng_jupyterhub_II ./simple_start &> jupyterhub.log &
5 Login as before. http://localhost:8000
Content type
Image
Digest
Size
844 MB
Last updated
over 8 years ago
docker pull knowengdev/jupyterhub_knoweng:knoweng_jupyterhub_server_with_R_05_25_2018