Skip to content

haysclark/docker-adlmflexnetserver

Repository files navigation

ADLMFlexNetServer

Docker Automated build Docker Stars license PRs Welcome Code of conduct semantic-release

Unofficial Autodesk License Manager FLEXlm® Network Server container.

Usage

To use this container, simply treat it as if you were calling lmgrd directly. The only caveat is that the container ALWAYS appends the -z flag when executing lmgrd internally so to ensure it runs in the Foreground; otherwise, Docker believes the command has finished executing, and the container is immediately stopped.

A typical usage example, where a single license file, adsk_server.lic, is saved to a local directory. This directory's path, <local-license-path>, is them mapped to the containers /var/flexlm directory, and is finally referenced as if calling as lmgrd directly: -c /var/flexlm/adsk_server.lic.

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 as well.

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

Logging

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 Docker's run command, enabling TTL support will cause extra line breaks in your Docker logs.

Troubleshooting

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>

Image Variants

haysclark/adlmflexnetserver:

Version Description
v1.0.0 Uses NLM 11.13.1.2 (support pre-2020 products)
>= v1.0.1 Uses NLM 11.16.2.0 (required for 2020 products / backwards compatible

Building a custom Docker image

The base container is intended to support a wide range of cases; however, some build arguments have been included to allow easy access to aspects of the build process.

Build Arguments

The following build arguments have been exposed.

Name Required Description
NLM_URL no URL to the NLM (Network License Manager) .gz file
TEMP_PATH no temporary file path for installation

Usage example:

docker build --build-arg NLM_URL=<nlm-url> .

Resources

Supports

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, VRED Products 2017 and more.

About

Unofficial Autodesk License Manager FLEXlm® Network Server container

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •