You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/bin/bash: /srv/conda/envs/notebook/bin/activate: No such file or directory
[C 2022-12-21 14:49:16.949 ServerApp] Bad config encountered during initialization: No such directory: ''/home/pyiron''
The issues are:
There is no directory for /home/pyiron. It should be /home/jovyan I think.
/srv/conda/envs/notebook/bin/activate does not exist
In the image:
(base) jovyan@0d53d6ea0639:~$ ls /home
jovyan
(base) jovyan@0d53d6ea0639:~$ ls /srv
(base) jovyan@0d53d6ea0639:~$
This command works for me: docker run -i -t -p 8888:8888 pyiron/pyiron /bin/bash -c "jupyter lab --notebook-dir=/home/jovyan/ --ip='*' --port=8888"
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out - it seems our documentation was not updated ... when the location of the conda environment changed. The right command should be:
Summary
The command documented at https://pyiron.readthedocs.io/en/latest/source/installation.html#docker-container does not work.
Specifically,
docker run -i -t -p 8888:8888 pyiron/pyiron /bin/bash -c "source /srv/conda/envs/notebook/bin/activate; jupyter lab --notebook-dir=/home/pyiron/ --ip='*' --port=8888"
fails with this error:
The issues are:
In the image:
This command works for me:
docker run -i -t -p 8888:8888 pyiron/pyiron /bin/bash -c "jupyter lab --notebook-dir=/home/jovyan/ --ip='*' --port=8888"
The text was updated successfully, but these errors were encountered: