Skip to end of metadata
Go to start of metadata

Installing Docker for Windows ensures that the Coveo On-Premises Crawling Module runs smoothly, no matter how your environment configuration. 

Tip

It is a good practice to install Docker and the Coveo On-Premises Crawling Module on a Windows Server 2016 virtual machine that has access to the content you want to index. This should prevent environment variable issues.

  1. Ensure that your environment meets the requirements (see Requirements).
  2. Go to the Docker website and click Get Docker for Windows (Stable).
  3. In the Save As window that appears, choose a location to save the Docker for Windows Installer, and then click Save.
  4. Open a Windows Explorer window and navigate to the selected location.
  5. Double-click the Docker for Windows Installer to run it.
    An Installing Docker for Windows window opens, displaying the installation progress.
  6. Once the Installing Docker for Windows window displays Installation succeeded, click Close and log out.

    Warning

    Before clicking Close and log out, save any work that you have in progress, as logging out could close windows and discard unsaved changes.

  7. Log in to your Windows account. 
    Docker for Windows should start automatically.
  8. A Docker for Windows dialog may prompt you to enable Hyper-V. If so, click OK. Your computer will reboot.

    Warning

    Before clicking OK, save any work that you have in progress, as logging out could close windows and discard unsaved changes.

  9. Once your computer has rebooted, you may encounter an error dialog. Ignore it.
  10. Switch to Windows containers:
    1. In your system tray, right-click the Docker icon, and then select Switch to Windows containers...
    2. Docker for Windows dialog may prompt you to enable the container feature. If so, click OK.
      Your computer will reboot.

      Warning

      Before clicking OK, save any work that you have in progress, as logging out could close windows and discard unsaved changes.

    3. Once your computer has rebooted, a Service is not running dialog may prompt you to start the Docker service. If so, click Start.
  11. Validate the installation:
    1. Make sure that Docker is registered, running, and set to Automatic:
      1. In the task bar, click the Windows icon, and then, in the start menu, click Services.
      2. In the Services window, browse the Services (local) list, looking for Docker for Windows Service.
        Status should be Running and Startup Type should be Automatic.
    2. Make sure that Docker is working and in Windows Containers mode:
      1. Open a command prompt, and then type docker version.
        The output should not contain any error. Under Server, the OS/Arch value should be windows/amd64.
    3. Make sure that Docker will restart after a host reboot:
      1. In your system tray, right-click the Docker icon, and then select Settings...
      2. In the Settings window that appears, in the General tab, ensure that the Start Docker when you log in checkbox is selected.

What's Next?

Install Maestro to manage your workers (see Installing Maestro).

  • No labels