miykael / fmriflows

fmriflows is a consortium of many (dependent) fMRI analysis pipelines, including anatomical and functional pre-processing, univariate 1st and 2nd-level analysis, as well as multivariate pattern analysis.
BSD 3-Clause "New" or "Revised" License
60 stars 20 forks source link

Fail to use docker #39

Closed GYDDHPY closed 1 year ago

GYDDHPY commented 1 year ago

Summary

Faild to open container.

Actual behavior

Use provided run command return site cannot be reached error. If use 8888:8888 it will show jupyter notebook website but need tokern which i didn't find.

Expected behavior

Successfully open the container.

How to replicate the behavior

Just use the docker run -it --rm -p 9999:8888 -v /home/user/ds001:/data miykael/fmriflows command. I just change tmy local path.

Script/Workflow details

[I 16:20:30.797 NotebookApp] [nb_conda_kernels] enabled, 2 kernels found
[I 16:20:30.801 NotebookApp] Writing notebook server cookie secret to /home/neuro/.local/share/jupyter/runtime/notebook_cookie_secret
[I 16:20:30.922 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.1
[W 2023-07-11 16:20:30.990 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
[W 2023-07-11 16:20:30.992 LabApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-07-11 16:20:30.992 LabApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-07-11 16:20:30.992 LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-07-11 16:20:30.992 LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-07-11 16:20:30.992 LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-07-11 16:20:30.992 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
[I 2023-07-11 16:20:30.996 LabApp] JupyterLab extension loaded from /opt/miniconda-latest/envs/neuro/lib/python3.7/site-packages/jupyterlab
[I 2023-07-11 16:20:30.996 LabApp] JupyterLab application directory is /opt/miniconda-latest/envs/neuro/share/jupyter/lab
[I 16:20:31.072 NotebookApp] [nb_conda] enabled
[I 16:20:31.073 NotebookApp] Serving notebooks from local directory: /home/neuro/notebooks
[I 16:20:31.073 NotebookApp] Jupyter Notebook 6.2.0 is running at:
[I 16:20:31.073 NotebookApp] http://f2f6d97f67d6:8888/?token=...
[I 16:20:31.073 NotebookApp]  or http://127.0.0.1:8888/?token=...
[I 16:20:31.073 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Please put URL to code or code here (if not too long).

Platform details:

Ubuntu 22.

Execution environment

Python 3.7.

GYDDHPY commented 1 year ago

Sorry to bother. I figure out.