In any enterprise environment, it is crucial that services are able to restart/recover automatically in the event of disruption or failure. In the example of this blog post, this would be if there is a power outage or the server reboots unexpectedly.
When your services are not able to automatically recover, this can cause long outages for your users, especially if you are not actively monitoring your underlying infrastructure.
When running ArcGIS Notebook Server on Windows, enabling this automated recovery can be a little tricky due to ArcGIS Notebook Server’s use of Docker Desktop. Docker Desktop is a desktop application that runs on your Windows OS that allows you to create and run containers. Docker Desktop needs to be run by a user and can run into various issues when the entire application including GUI is not loaded correctly.
It is for this reason as well as other limitations why Esri recommends installing ArcGIS Notebook Server on Linux rather than Windows.
This is not always possible in many organisations for various reasons such as support limitations, licensing and security requirements or technical expertise. For these organisations I will outline how we can set up Docker Desktop to run automatically on startup.
You have now successfully set up Docker Desktop to automatically recover from unexpected server reboots and outages. It is important to note that the delay in the task is important as it allows Windows to finish startup before Docker Desktop attempts to run. If you run into issues where you cannot run containers try increasing the delay to 10-15 minutes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.