NII-cloud-operation / sshkernel

SSH Kernel for Jupyter
BSD 3-Clause "New" or "Revised" License
71 stars 14 forks source link

Can't install on LC_Docker #12

Closed IMAI-Yuji closed 5 years ago

IMAI-Yuji commented 5 years ago

Expected

To install on Jupyter-LC_docker

What happen instead

Menu did not appear at New -> Notebook

image

Kernel placed on CONDA_DIR.

jovyan@8ba5cd9809ae:~$ jupyter kernelspec list
Available kernels:
  bash               /opt/conda/share/jupyter/kernels/bash
  bash-wrapper       /opt/conda/share/jupyter/kernels/bash-wrapper
  python3            /opt/conda/share/jupyter/kernels/python3
  python3-wrapper    /opt/conda/share/jupyter/kernels/python3-wrapper
  ssh                /opt/conda/share/jupyter/kernels/ssh

Step to reproduce

Build docker image as follows

FROM niicloudoperation/notebook:latest

USER root

RUN pip install -U sshkernel --proxy=http://user@proxy.example.com:port/
RUN python -m sshkernel install --prefix=/opt/conda

USER $NB_USER
m-ueno commented 5 years ago

I'm closing this issue because this issue is about Jupyter-LC_docker and/or Jupyter-LC_wrapper, not about sshkernel.

Thank you anyway.

IMAI-Yuji commented 5 years ago

They made their images to prevent installing packages other than python3 and bash by https://github.com/NII-cloud-operation/Jupyter-LC_docker/pull/67 . I have confirmed that sshkernel work fine when reverting their PR.

I will talked with them how sshkernel install on their image. Thanks.