Coder Social home page Coder Social logo

haysclark / docker-adlmflexnetserver Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 32.0 28 KB

Unofficial Autodesk License Manager FLEXlm® Network Server container

Home Page: https://hub.docker.com/r/haysclark/adlmflexnetserver/

License: MIT License

Shell 74.73% Dockerfile 25.27%

docker-adlmflexnetserver's People

Contributors

haysclark avatar maff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-adlmflexnetserver's Issues

needs to specify license

Thanks for this amazing package! Great work! I'm using it on a Synology NAS, so one less computer to run!

I've spent some time till it finally worked, here are some information I'd like to share:

  1. The user either needs to rename it's license file to mayaserver.lic, or needs to mount it via:
-v path/mylicense.lic:/var/flexlm/mayaserver.lic

or specify -c /var/flexlm/mylicense.lic at the end. Figuring this out took me quite a while.

  1. The user might prefer to have logging going into Docker logs. Then he needs to remove -l, which I without the -l option.

MotionBuilder in Docker

Hello,
Slightly unrelated question but I thought I would ask since you seem to have experience with Autodesk softwares. Do you know if it is possible to run MotionBuilder or Maya in Docker containers?
Thank you

Multiple license servers

I am thinking about using your image to deploy several autodesk license server.
Why is it necessary to expose all Ports (27000 - 27009) to one container? Normally the server will just need one of these ports. This would allow, that i bind different containers to different public ports and then i can run several license servers on one host. Is this possible?

Container exits immediately after running

I'm trying to run this container with the command in the readme.
I did add an backlslash after the image name.

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

This runs but exits immediately. Isn't the -z option supposed to prevent this.
I don't seem to get any logs or errors do you have any idea what is happening here?

No logging

I started my container with following command:
docker run -d --mac-address="00:19:99:XX:XX:XX"
-h hostname
--name autodesktest
-v /opt/autodesk-testserver/license.lic:/var/flexlm/adsk_server.lic:ro
-p 2080:2080 -p 27000-27009:27000-27009
haysclark/adlmflexnetserver
-c /var/flexlm/adsk_server.lic

but when i start a program and a license is obtained from this server i cannot see anything in the logs. Also there is no logging when i borrow licenses.

Failed to open the TCP port number in the license

Hi,

I have a *.dat file and runned like:

docker run -d --mac-address=AA:BB:CC:DD:EE:FF \
  -h localhost \
  -v /home/user/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT:/var/flexlm/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT:ro \
  -p 2080:2080 -p 27000-27009:27000-27009 \
  haysclark/adlmflexnetserver -c /var/flexlm/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT

The docker logs ... is:

11:47:03 (lmgrd) -----------------------------------------------
11:47:03 (lmgrd) 
11:47:03 (lmgrd) 
11:47:03 (lmgrd) Server's System Date and Time: Wed Sep 23 2020 11:47:03 UTC
11:47:03 (lmgrd) SLOG: Summary LOG statistics is enabled.
11:47:03 (lmgrd) FlexNet Licensing (v11.16.2.0 build 242433 x64_lsb) started on localhost (linux) (9/23/2020)
11:47:03 (lmgrd) Copyright (c) 1988-2018 Flexera. All Rights Reserved.
11:47:03 (lmgrd) World Wide Web:  http://www.flexerasoftware.com
11:47:03 (lmgrd) License file(s): /var/flexlm/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT
11:47:03 (lmgrd) lmgrd tcp-port 27000
11:47:03 (lmgrd) (@lmgrd-SLOG@) ===============================================
11:47:03 (lmgrd) (@lmgrd-SLOG@) === LMGRD ===
11:47:03 (lmgrd) (@lmgrd-SLOG@) Start-Date: Wed Sep 23 2020 11:47:03 UTC
11:47:03 (lmgrd) (@lmgrd-SLOG@) PID: 7
11:47:03 (lmgrd) (@lmgrd-SLOG@) LMGRD Version: v11.16.2.0 build 242433 x64_lsb ( build 242433 (ipv6))
11:47:03 (lmgrd) (@lmgrd-SLOG@) 
11:47:03 (lmgrd) (@lmgrd-SLOG@) === Network Info ===
11:47:03 (lmgrd) (@lmgrd-SLOG@) Listening port: 27000
11:47:03 (lmgrd) (@lmgrd-SLOG@) 
11:47:03 (lmgrd) (@lmgrd-SLOG@) === Startup Info ===
11:47:03 (lmgrd) (@lmgrd-SLOG@) Server Configuration: Single Server
11:47:03 (lmgrd) (@lmgrd-SLOG@) Command-line options used at LS startup: -z -c /var/flexlm/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT 
11:47:03 (lmgrd) (@lmgrd-SLOG@) License file(s) used:  /var/flexlm/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT
11:47:03 (lmgrd) (@lmgrd-SLOG@) ===============================================
11:47:03 (lmgrd) Starting vendor daemons ... 
11:47:03 (lmgrd) Started cstd (internet tcp_port 56067 pid 9)
11:47:03 (lmgrd) license daemon: execute process failed: (lmgrd) -T localhost 11.16 7 -c :/var/flexlm/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT:
11:47:03 (lmgrd) license daemon: system error code: No such file or directory
11:47:03 (lmgrd) cstd exited with status 45 (Child cannot exec requested server)
11:47:03 (lmgrd) Please correct problem and restart daemons

An than, manually start with entrypoint.sh -c /var/flexlm/AABBCCDDEEFF_0000000000XXXX_0000_Y.DAT inside the container, the result is:

11:42:20 (lmgrd) -----------------------------------------------
11:42:20 (lmgrd) 
11:42:20 (lmgrd) 
11:42:20 (lmgrd) Server's System Date and Time: Wed Sep 23 2020 11:42:20 UTC
11:42:20 (lmgrd) SLOG: Summary LOG statistics is enabled.
11:42:21 (lmgrd) Failed to open the TCP port number in the license.

Upgrade to centos7

This is a Feature Request

What would you like to be added
Upgrade image to centos7

Why is this needed
Centos6 has reached EOL.

Comments
Only 2 changes are needed:

Line 1: FROM centos:centos7
Line 22: RUN yum install -y redhat-lsb-core wget && yum clean all

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.