The steps below describe how to download, install, and configure the Docker container allocation software required by ArcGIS Notebook Server. See Docker and ArcGIS Notebook Server for an introduction to Docker and how it's used in ArcGIS Notebook Server.
Download and install Docker
The Docker edition needed to run ArcGIS Notebook Server on Windows is Docker Desktop Community. This is accessible through the Docker Desktop for Windows application. Follow these steps to install Docker on your machine.
- Verify that Hyper-V is installed on your Windows machine by searching for the Hyper-V Manager application. If it's not, install it before proceeding. See the following Microsoft documentation for steps:
- ArcGIS Notebook Server requires Docker Desktop for Windows (version 184.108.40.206 or later). In a browser, go to the Docker Desktop (Windows) download page in the Docker Hub store.
- Sign in to your existing Docker Hub account, or sign up for a new account.
- Download the Docker Desktop software.
- Double-click Docker for Windows Installer to run it.
- On the Configuration dialog box of the installer, you will be prompted on whether Docker should use Windows containers. Do not select this option; ArcGIS Notebook Server requires Linux containers.
- Close the installer when it has completed.
- Click the Docker Desktop button in the Start menu to start Docker.
- Verify that Docker has started, using one of the following methods:
- Check the status of the Docker icon in the Windows system tray (typically located at the bottom right corner of your screen).
- Open the command prompt window and run the following commands:
The first command provides the version of Docker on your machine; the second verifies that Docker can access and run container images.
docker version docker run hello-world
Configure Docker settings
After Docker is installed on your machine, modify the settings described below.
You'll use the Docker Remote API, which requires the use of port 2375. This port will only be used internally by ArcGIS Notebook Server and should be protected from external use.
- Right-click the Docker button in the Windows system tray, and click Settings.
- On the General page, check Expose daemon on tcp://localhost:2375 without TLS.
You may receive a security warning. Ensure that your system administrator is aware that this port is used internally, and that no external access should be permitted to the port.
The Docker container must have access to the local drive that will be configured as the workspace directory or to a custom data directory for the notebook server. Perform the step below during initial installation, and repeat it whenever the credentials for your Run As account change, or if the Run As account itself changes. If you create an account during ArcGIS Notebook Server installation, you'll be referred back to this step.
- Right-click the Docker button in the Windows system tray and click Settings.
- From the settings menu, click Resources > File sharing.
- Add the drive or directory path that will be used for your ArcGIS Notebook Server workspace or custom data directory.
Note:Docker for Windows only supports local directories on Windows that are to be shared with Linux containers.
You can use the Docker Desktop settings panel to limit the resources available to ArcGIS Notebook Server and the containers running in your server site.
- Right-click the Docker button in your Windows system tray and click Settings. From the settings menu, click Resources > Advanced.
- You will see options that you can use to change the following settings:
- CPUs—The number of CPU cores available to containers on your machine. By default, this is set to two cores. You can update this value depending on the resources available on the machine and the CPU limits set for the notebook runtimes.
- Memory—The amount of memory available to containers on your machine. By default this is set to 2GB. Increase this to a minimum of 6GB. You may want to increase this, depending on the resources available on the machine and the memory limits set for the notebook runtimes.
- Swap—The amount of disk space that containers can use for memory if the above limit is reached.
- Disk image size—The size of the disk image. Review and update this value as needed if installing Docker container images for Notebooks results in an out of disk space error.
- Disk image location— The directory where containers and images are stored.
Note:Revisit this step anytime you make updates to CPU or memory resources configured for notebook runtimes.
- When you're satisfied with the resource limits you've set, click Apply.
Once the Docker component is installed, restart your machine. You must restart the machine each time you install or upgrade the Docker component.
You are now ready to install ArcGIS Notebook Server on your machine.