ArcGIS Notebook Server and Docker for Windows

559
9
06-19-2019 03:50 AM
New Contributor III

I have installed the ArcGIS Notebook server according to documents. But I must have missed something. I need to login to the ArcGIS Notebook server in order to get Docker to start up. Then everything works alright. But if I don't I will get following error message when trying to start a Notebook in Portal for ArcGIS:

Error opening notebook. Unable to establish DockerClient environment: '{0}'.

Someone else facing the same problem?

Reply
0 Kudos
9 Replies
Esri Contributor

Hello,

Are you sure your docker install is working? did you try running the commands below.

> docker version

> docker run hello-world

take a look at this too. https://enterprise.arcgis.com/en/notebook/latest/install/windows/install-docker-for-arcgis-notebook-...

Reply
0 Kudos
New Contributor III

Hi,

Everything works perfect as long I log on the Notebook server.

19 juni 2019 kl. 19:37 skrev Ahmad Abdallah <geonet@esri.com<mailto:geonet@esri.com>>:

GeoNet, The Esri Community | GIS and Geospatial Professional Community <https://community.esri.com/?et=watches.email.thread>

Re: ArcGIS Notebook Server and Docker for Windows

reply from Ahmad Abdallah<https://community.esri.com/people/Ahmad_Abdallah-esristaff?et=watches.email.thread> in Implementing ArcGIS - View the full discussion<https://community.esri.com/message/859390-re-arcgis-notebook-server-and-docker-for-windows?commentID=859390&et=watches.email.thread#comment-859390>

Reply
0 Kudos
Esri Contributor

Ok, got whats going on

You need to login the docker machine and ensure that docker is running (usually starts automatically), a workaround for this is to create a startup task on task scheduler pointing to the the docker executable "Docker For Windows.exe". Make sure you use the same credentials for the docker installation. 

Hope this helps.

Reply
0 Kudos
New Contributor III

Tested it, but it didn't work.

Reply
0 Kudos
New Contributor III

Now I got it to work fine. Thanks for your advise.

Reply
0 Kudos
New Contributor III

Hi,

I will try it out.

Reply
0 Kudos
Occasional Contributor II

Hi Kjell,

After login to the machine, if Docker is not started, you can manually start Docker by clicking on 
"Windows (Start) Menu  > Docker Desktop". After Docker starts verify Docker is running as expected using docker version or docker run hello-world commands. 

Docker Desktop stops running if the install user logs out of the machine.  Do not logout, but rather lock the machine to ensure Docker keeps running and Notebooks are accessible. 

Thanks

Reply
0 Kudos
New Contributor III

Hi Ravi,

I thought  this is strange way to implement a server function.  I would rather have this to work as soon as the server boots up. Is there no other configuration that I can use to accomplish this?

Reply
0 Kudos
New Contributor II
Reply
0 Kudos