Docker support

Thanks to the folks at Lioness, we now have a Dockerfile for the Compute project! :whale:

To try it out, follow these steps…

  1. Make sure you’re up to date with the latest code from the master branched you have the latest Rhino WIP installed (used to generate license/settings files)
  2. Follow these steps to disable encryption of your CloudZoo credentials (this is important because the encryption is machine-specific and won’t work inside the container)
  3. Copy the following files into the project’s root directory, alongside the Dockerfile
    • “C:\ProgramData\McNeel\Rhinoceros\6.0\License Manager\Licenses\55500d41-3a41-4474-99b3-684032a4f4df.lic”
    • “%AppData%\McNeel\Rhinoceros\6.0\License Manager\Licenses\cloudzoo.json”
    • “%AppData%\McNeel\Rhinoceros\7.0\settings\settings-Scheme__Default.xml”
  4. 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 --isolation process -p 8080:80 rhino-compute

Compute is now accessible on localhost:8080!

Note: this Dockerfile requires “process” isolation, or it won’t build. This means that the windows:1809 base image will only work with Windows 10 (build 1809) and Windows Server 1809/2019. To use Windows 10 (build 1903) or Windows Server 1903, change the base image to windows:1903.


Is there another way to accomplish your goals?