Unity Cache Server on Docker container. Supporting versions later than 2017.x
docker run -d -p 8125-8126:8125-8126 -v $(pwd):/srv/unity --name cache_server windyakin/docker-unity-cache-server
Recommend volume setting position is /srv/unity
.
If you do not need legacy mode support, add --nolegacy
param to Docker run command params.
docker run -d -p 8126:8126 -v $(pwd):/srv/unity/cache5.0 --name cache_server windyakin/docker-unity-cache-server --no-legacy
Get download URL from Unity - Download Archive (Download URL of Cache Server is no distinction between Windows and Mac).
Extract the parameter for Docker image building from the URL.
https://download.unity3d.com/download_unity/472613c02cf7/CacheServer-2017.1.0f3.zip
^^^^^^^^^^^^ ^^^^^^^^^^
VERSION_HASH UNITY_VERSION
Build with parameters.
docker build --tag unity-cache-server:2017.1.0 --build-arg UNITY_VERSION=2017.1.0f3 --build-arg VERSION_HASH=472613c02cf7 .
- windyakin (Twitter)