This repository containt a docker image to run docker image. It is based on centos8.
59
doc ker file source code: https://github.com/ldipotetjob/poc-aws-s3/tree/main/docker.jupyter#readme
docker build -t image_name:tag .
$ docker run --name custom_jupyter -i -t -p 8888:8888 -v "${PWD}:/notebooks" scadip/jupyter:centos8
## output in case you start the jupyter server properly
## ......
## [I 09:48:52.083 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
## [I 09:48:52.306 NotebookApp] Serving notebooks from local directory: /notebooks
## [I 09:48:52.306 NotebookApp] Jupyter Notebook 6.4.3 is running at:
## [I 09:48:52.306 NotebookApp] http://f9063963cd41:8888/?token=5b78857f1165cff73883fbcaaa919a11088f8e93b5abe99c
## [I 09:48:52.306 NotebookApp] or http://127.0.0.1:8888/?token=5b78857f1165cff73883fbcaaa919a11088f8e93b5abe99c
## [I 09:48:52.307 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Docker could asks to access at your desk because jupyter need to write in a folder(/notebook) but you don't have to. If you don do this any script that you run in python jupyter cells won't be saved at your local folders and in the same way if your scripts involve IO operations to local file system an IO exception will be thrown.
Content type
Image
Digest
Size
627.6 MB
Last updated
almost 5 years ago
docker pull scadip/jupyter:centos8