Estoy tratando de crear un código de python usando una instancia de Jupyter Lab que se ejecuta dentro de un contenedor docker. Pude crear con éxito el Dockerfile para lograr lo mismo y lanzar Jupyterlab en una instancia del navegador. Sin embargo, tan pronto como creo un archivo de cuaderno, todo el laboratorio deja de responder.
Registros de terminales:
[W 2021-11-20 07:55:33.081 ServerApp] No web browser found: could not locate runnable browser. [C 2021-11-20 07:55:33.082 ServerApp] To access the server, open this file in a browser: file:///root/.local/share/jupyter/runtime/jpserver-1-open.html Or copy and paste one of these URLs: http://444ab754c39e:8888/lab?token=e58757f576973c5a0f88ee76da161cdb79b2cb6962c15109 or http://127.0.0.1:8888/lab?token=e58757f576973c5a0f88ee76da161cdb79b2cb6962c15109 [W 2021-11-20 07:55:51.654 LabApp] Could not determine jupyterlab build status without nodejs [I 2021-11-20 07:55:58.927 ServerApp] Creating new notebook in [I 2021-11-20 07:55:58.978 ServerApp] Writing notebook-signing key to /root/.local/share/jupyter/notebook_secret Operation not permitted (bundled/zeromq/src/thread.cpp:309) qemu: uncaught target signal 6 (Aborted) - core dumped Operation not permitted (bundled/zeromq/src/thread.cpp:309) qemu: uncaught target signal 6 (Aborted) - core dumpedarchivo acoplable:
FROM codait/max-object-detector:arm-arm32v7-latest RUN apt-get update RUN apt-get install -y python3 RUN pip install cmake RUN pip install tensorflow keras RUN pip install pandas sklearn xgboost pandas-profiling RUN pip install jupyter -U && pip install jupyterlab COPY ./ . EXPOSE 6006:6006 EXPOSE 8888:888 WORKDIR /home/code ENTRYPOINT ["jupyter", "lab","--ip=0.0.0.0","--allow-root"]Comando de compilación de Docker:
docker run -p 8888:8888 -p 6006:6006 -v local_dir:docker_dir docker_tag