Introduced at 11.3, ArcGIS Notebook Server with Windows containers supports installing Docker Engine from binaries.
Requirements
Installing Docker Engine from binaries has the following requirements:
Operating system | Docker edition | Notebook runtime (Container) image type | Additional requirements |
---|---|---|---|
Windows Server 2022 Standard and Datacenter | Docker Engine - Community version 25.0.0 or later | Windows | Optionally, you can install Hyper-V. Примечание:There are limitations to the maximum number of containers that can run with Hyper-V isolation on Windows Server 2022 Standard. See the Windows FAQ for more information. |
Install Docker Engine from binaries
Complete the following steps to install Docker Engine from binaries:
- Uninstall any previous version of Docker on your machine.
- Disable the Containers feature on your local server if it is enabled.
See the Microsoft documentation for more information.
- Enable the Windows Containers feature by running the following command in Windows PowerShell with administrative privileges:
Add-WindowsFeature Containers
- Follow the prompts to restart your machine.
- Verify the installation of the Containers feature by running the following command:
Get-WindowsFeature Containers
- Follow the instructions in the Install server and client binaries on Windows section in the Docker documentation.
Примечание:
Docker Engine from binaries does not update automatically. You must manually update to newer versions of Docker. See the Install Docker Engine from binaries documentation for more information on the limitations of using Docker from binaries in a production environment. Although this page recommends using Docker Desktop, ArcGIS Notebook Server with Windows Containers does not support Docker Desktop on Windows as a container engine. - Add the docker directory path, for example, C:\Program Files\docker, to the environment path variables.
- Verify your installation and Docker daemon running status by running the following command:
docker version
Configure Docker Engine
Complete the following steps to configure Docker Engine:
- If the account used to install ArcGIS Notebook Server is not part of the administrator group, perform the following steps:
- 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.
If a docker-users group does not already exist, create one.
- Click the Add button, locate the account you used to install ArcGIS Notebook Server, and choose it. Click OK to confirm.
- Click OK to close the group dialog box.
- Create a configuration file at C:\ProgramData\docker\config\daemon.json to set a security group for Docker.
- Edit C:\ProgramData\docker\config\daemon.json to add the docker-users group.
{ "group" : "docker-users" }
- Enable port 2375 to enable the use of the Docker remote API. This port will only be used internally by ArcGIS Notebook Server and should be protected from external use. To enable the port, open a command prompt as an administrator and run the following command:
sc config docker binpath= "\"C:\Program Files\docker\dockerd.exe\" --run-service -H tcp://localhost:2375 -H npipe://"
- Restart Docker with the following command:
net stop docker net start docker
- Once the Docker component is installed, restart your machine.
Примечание:
Each time you install or upgrade the Docker component, you must restart the machine.
Change the default Docker image installation location
To change the default Docker image installation location, follow the steps below:
- Edit the file at C:\ProgramData\docker\config\daemon.json.
- Set data-root to your chosen location on your local machine.
{ "data-root": "d:\\docker" }
- Restart Docker.