When your ArcGIS Notebook Server installation is complete, run the postinstallation utility to set up the necessary Docker components. Perform these steps for each machine on which you've installed ArcGIS Notebook Server.
Add your OS account to the Docker group
If the Run As account for ArcGIS Notebook Server is a local system user or is different than the user account used to install Docker, add the user to the docker-users group.
- From the Start menu on your Windows machine, open the Computer Management application.
- On the left sidebar, expand the Local Users and Groups item, and open the Groups folder.
- Choose the docker-users group from the list of groups and double-click it.
- Click the Add button, locate your Run As account, and select it. Click OK to confirm.
- Click OK to close the group dialog box.
Run the postinstallation utility
ArcGIS Notebook Server includes a utility to be run after the software is installed. This utility installs the Docker container images for notebooks that you downloaded from My Esri.
Complete the following steps to run the utility before creating your ArcGIS Notebook Server site:
- Open the command prompt window as an administrator.
- Change directories to the ArcGIS Notebook Server tools folder. By default, this path is C:\Program Files\ArcGIS\NotebookServer\tools\postInstallUtility.
- Optionally, refer to the utility's help by running the following command: > PostInstallUtility.bat -h
- ArcGIS Notebook Server requires Docker Engine Community Edition to be installed on your machine. Determine whether Docker is active on your machine by running the following command: > PostInstallUtility.bat -d
- If Docker Desktop is not installed, install it now.
ArcGIS Notebook Server uses Linux containers in Docker Desktop. When you install Docker Desktop, ensure that you specify Linux containers, and do not click the Switch to Windows containers option.
- When using Docker Desktop, modify each of the following settings:
- Right-click the Docker button in the system tray and click Settings. Under General, check Expose daemon on tcp://localhost:2375 without TLS.
You'll be using the Docker Remote API, which requires the use of port 2375.
- Right-click the Docker button in the system tray and click Settings. In the Settings menu, click Resources > File sharing and add the drive directory that will be used for your ArcGIS Notebook Server configuration store.
Note:
Docker for Windows only supports local directories on Windows that are to be shared with Linux containers.
- Right-click the Docker button in the system tray and click Settings. Under General, check Expose daemon on tcp://localhost:2375 without TLS.
- Install your Notebooks image by specifying its file path. The image should be zipped in the .tar.gz format. If you have an Advanced license and Docker Desktop, run the command twice to install both the Standard and Advanced container images you downloaded from My Esri.
Run the following command: > PostInstallUtility.bat -l <path of .tar.gz Docker image>
Note:
Ensure you install both container images. Even if you have the Advanced license, your users may still need to use the Standard runtime.
Proceed to create an ArcGIS Notebook Server site.