ArcGIS Notebook Server - Too Many Colons Error

616
4
Jump to solution
08-02-2023 06:40 PM
JasonHarshman
Occasional Contributor

I'm getting the error below when I try to create a new notebook via ArcGIS Portal 11.1:

Error response from daemon: mount denied:
the source path "\\arcgisnotebookserver\\directories\\arcgisworkspace\\my_username:C:\\arcgis\\home:rw"
too many colons.

 

Shouldn't the volume mount follow the below format? Why is there a path to a C drive in the container path?  

</path/to/host/directory>:</path/to/container/directory>

Here's the full docker run command from the logs:

docker run -d --name 25eb400f7ca646a7af82fec23faf74a0 -e "NB_AUTH_FILE=/arcgis/home/.nb_auth_file_49cade5006f3" -e "JSAPI_CDN=null" -p 30001:8888 --cpu-quota=200000 --cpu-period=100000 --shm-size=2147483648 --memory-swap=0 -m=6442450944 --hostname=49cade5006f3 -v C:\arcgisnotebookserver\directories\arcgisworkspace\my_username:C:\arcgis\home:rw -v C:\arcgisnotebookserver\directories\arcgisworkspace\samplesdata:C:\arcgis\samplesdata:ro a53b4f4c57c16a3449327a69f6e92b9656cf7162957261a95991bdcbda606973 C:/Users/arcgis/start.bat --NotebookApp.base_url=/arcgis/notebooks/25eb400f7ca646a7af82fec23faf74a0 --NotebookApp.notebook_dir=C:\arcgis --JupyterApp.config_file=C:\arcgis\home\.jupyter_notebook_config.py --NotebookApp.log_level=10 --NotebookApp.certfile=C:\arcgis\home\.v3.host.docker.internal.crt --NotebookApp.keyfile=C:\arcgis\home\.v3.host.docker.internal.key --NotebookApp.shutdown_no_activity_timeout=43200

Install Versions:

  • ArcGIS Notebook Server 11.1 running on Windows Server Standard 2022
  • Docker Desktop 4.21.1
  • Docker Engine 24.0.2.
  • arcgis-notebook-python-standard Linux image 11.1.0.42869 

I'm new to ArcGIS Notebook Server so I'm not sure if there's a bug with the latest image or there's an issue with my ArcGIS Notebook Server and/or Docker install. Probably the latter 😅

0 Kudos
1 Solution

Accepted Solutions
JasonHarshman
Occasional Contributor

I just noticed the useWindowsContainers parameter is set to true. Changing it to false fixed the issue. Thank you, Shikhar!

View solution in original post

0 Kudos
4 Replies
shikhar_deep
Esri Contributor

HI @JasonHarshman ,

Could you please share the details of system properties from the ArcGIS Notebook Server Administrative API?

Thanks,

Shikhar Deep

 

 

0 Kudos
JasonHarshman
Occasional Contributor

@shikhar_deep see below. 

JasonHarshman_0-1691174189476.png

 

0 Kudos
JasonHarshman
Occasional Contributor

I just noticed the useWindowsContainers parameter is set to true. Changing it to false fixed the issue. Thank you, Shikhar!

0 Kudos
shikhar_deep
Esri Contributor

Thanks @JasonHarshman , glad to know it worked.! 

0 Kudos