To try it out, follow these steps (assumes you’re running Windows Server 2019)…
- Make sure you’re up to date with the latest code
- Follow part 1. of the “Deploying Rhino Compute” guide to set up core-hour billing
- Open PowerShell/cmd.exe, navigate to the project’s root directory, and run these two commands to build the image and then spin up a container
> docker build --isolation process -t rhino-compute . > docker run -p 8080:80 rhino-compute
Compute is now accessible on
This information is intended for those who are already familiar with Docker, Windows containers and container orchestration. If you’re starting from scratch then I’d suggest beginning with running Compute on a Windows Server VM and go from there!
The Rhino installer will fail if the Docker image is built using “hyperv” isolation; we must use “process” isolation instead. The Docker file is written to work on Windows Server 2019, but can be easily modified.
February 11, 2020 security update
Microsoft’s February 11, 2020 security update has caused problems building the Compute docker image. Make sure your host OS is up to date (or at least includes the February 11, 2020 security update) and update the base images by adding the
--pull flag when building (you only need to do this once).
docker build --pull --isolation process -t rhino_compute .