jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.64k stars 4.91k forks source link

$PATH messed up #2495

Open dclong opened 7 years ago

dclong commented 7 years ago

It seems to me that the $PATH env variable is messed up when the CentOS image is used.

/bin:/sbin:/bin:/usr/sbin:/usr/bin

This happens only when a shell from Jupyter is opened. $PATH looks good in a shell created by docker exec -it docker_id /bin/bash.

rolweber commented 7 years ago

What path would you expect? Having /bin in there twice isn't pretty, but still far from what I would call "messed up".

Could be a .bashrc or other shell init script of the 'jovyan' user in the Docker image.
Have you tried su - jovyan after docker exec?