gyamada619 / autodesklicensecontainer

Windows Server 2019 container for Autodesk FlexLM License Manager.
MIT License
6 stars 0 forks source link

Windows Server Core image? #1

Open StefanScherer opened 5 years ago

StefanScherer commented 5 years ago

Hi Garrett, I found your blog post about creating this Windows container. Awesome to see more and more people using Windows containers. I just have a question if it's possible to run the Autodesk license server also in the smaller Windows Server Core base image? Have you tried that?

https://github.com/gyamada619/autodesklicensecontainer/blob/master/Dockerfile#L2

FROM mcr.microsoft.com/windows/servercore:1809
gyamada619 commented 5 years ago

Hi Stefan! Thanks for reaching out! (I worked off your Docker files as an example for this one after watching your talk at Chocolatey fest.) 👌

I have not tested this yet with Server Core, as I was operating under the assumption at the time that the FlexLM license manager required access to Windows APIs that were not available in Server Core. I'd be happy to adjust my copy of the code and run the container to see if Server Core is able to serve licenses. I may have some time later tonight or this weekend to check.

gyamada619 commented 5 years ago

@StefanScherer it looks like everything installs, but the bootstrap script which starts the license server process doesn't appear to be serving licenses. The "tailed" log from the license server process only displays:

20:36:15 (lmgrd) Unable to kill lmgrd.exe.  Please kill this manually by opening the Task manager and Killing the lmgrd.exe which are still running.

As far as I can remember, this error didn't occur with the larger container image. I'll have to dig more into this later to debug, but my guess is there is a missing component that the FlexLM software needs.

StefanScherer commented 5 years ago

Thanks @gyamada619 so maybe this is one good use-case for the bigger windows image.