Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
Expand all | Collapse all

Installation Jupyter 12.0.4 docker: invalid reference format.

  • 1.  Installation Jupyter 12.0.4 docker: invalid reference format.

    Posted Wed November 13, 2024 08:43 AM

    Hello,

    For learning purposes, I try to install Cognos Jupyter 12.0.4 on my laptop and when i execute ./install.bat i got this error :

    docker: invalid reference format.

    The ca_jupyter_viewer container is created and running but the ca_jupyter_hub isn't.

    The install.bat seems to stumble on this following line coming from startup.bat  :

    REM hub
    docker run -d --restart unless-stopped %NB_WSHOST:"=% %BI_HOST:"=% %SERVER_MAX:"=% %MEM_CEILING:"=% %TRUST_CERTS:"=% %CULL_SETTINGS:"=% %LOG_INTERVAL_ENV:"=% --network ca_jupyter_network -p %HOST_PORT%:8000 -v /var/run/docker.sock:/var/run/docker.sock -v %LOG_PATH%:/srv/jupyterhub/logs --name ca_jupyter_hub ca_jupyter_hub

    Any help would be welcome !

    Many thanks.

    Docker

    Windows version 11 Professional

    Docker Desktop 4.35.1 (173168) currently the newest version available.



    ------------------------------
    LOIC POTIN
    ------------------------------


  • 2.  RE: Installation Jupyter 12.0.4 docker: invalid reference format.

    Posted Wed December 11, 2024 09:11 AM

    Hello,

    Just to trace how i solved my problem.

    On my PC and inside startup.bat, I replaced the command %LOG_PATH%:/srv/jupyterhub/logs   By    C:\Logs:/srv/jupyterhub/logs

    And it works !

    Seems that the problem came from the directory "Program Files" with the space inside in the %LOG_PATH%

    docker run -d --restart unless-stopped %NB_WSHOST:"=% %BI_HOST:"=% %SERVER_MAX:"=% %MEM_CEILING:"=% %TRUST_CERTS:"=% %CULL_SETTINGS:"=% %LOG_INTERVAL_ENV:"=% --network ca_jupyter_network -p %HOST_PORT%:8000 -v /var/run/docker.sock:/var/run/docker.sock -v C:\Logs:/srv/jupyterhub/logs --name ca_jupyter_hub ca_jupyter_hub


    ------------------------------
    LOIC POTIN
    ------------------------------