Unofficial Autodesk License Manager FLEXlm® Network Server container.
To use this container, simply treat it as if you were calling lmgrd directly. The only caveat is that the container ALWAYS adds the '-z' flag so that lmgrd will run in the Foreground. Otherwise, Docker believes the task is over, and the container will 'stop' immediately.
The container does expect the user to map a local license file to within the /var/flexlm directory.
docker run -d --mac-address="[LICENSE_MAC_ADDRESS]" \
-h [LICENSE_HOSTNAME] \
-v [LOCAL_LICENSE_PATH]:/var/flexlm/adsk_server.lic:ro \
-p 2080:2080 -p 27000-27009:27000-27009 \
haysclark/adlmflexnetserver
-c /var/flexlm/adsk_server.lic
Alternatively, you can map a local folder containing multiple keys to the /var/flexlm directory.
docker run -d --mac-address="[LICENSE_MAC_ADDRESS]" \
-h [LICENSE_HOSTNAME] \
-v [LOCAL_LICENSE_FOLDER_PATH]:/var/flexlm \
-p 2080:2080 -p 27000-27009:27000-27009 \
haysclark/adlmflexnetserver
-c /var/flexlm/license_file_1:/var/flexlm/license_file_2
Docker's built-in logging functionality will collect the stdout/stderr generated by lmgrd.
docker logs [CONTAINER_ID]
Thus it's recommended you do NOT use the '-l' flag to log to a file, doing so will cause your Docker logs to be empty. Additionally, avoid using the '-t' flag when using the 'run' command, enabling TTL support will cause extra line breaks in your Docker logs.
If you are unsure if the server is running correctly, you can log into the container.
docker exec -it CONTAINER_ID /bin/bash
Once in bash run:
lmutil lmstat -a -c [LICENSE_PATH]
Applies to Autodesk Nastran 2015, Autodesk Nastran 2016, Autodesk Nastran 2017, Infrastructure Map Server 2014, Infrastructure Map Server 2015, Infrastructure Map Server 2016, Infrastructure Map Server 2017, Maya 2014, Maya 2015, Maya 2016, Maya 2017, Moldflow Insight 2015, Moldflow Insight 2016, Moldflow Insight 2017, MotionBuilder 2014, MotionBuilder 2015, MotionBuilder 2016, MotionBuilder 2017, Mudbox 2014, Mudbox 2015, Mudbox 2016, Mudbox 2017, Softimage 2014, Softimage 2015, Softimage 2016, VRED Design 2014, and VRED Products 2017