Run node locked software in a docker container

Hi all,
I am trying to run IBM Rational AppScan within a Docker container.
Although I managed to install the product successfully I am having some trouble with a feature of the product that require to install a node locked license into the container.
In order to complete this action I need to retrieve and hostid that seems to be a combination of hostname and mac address.
I am currently running docker 1.1.2 and although I can force an hostname there seems to be no options to lock on a specific mac address. There is a way around to this in 1.1.2 or do I have to upgrade to 1.2.0.
The tool that I am using to retrieve the hostid is called lmutil and it is made available by http://www.flexerasoftware.com

Thanks in advance for your time

Assuming that its node locked to your workstation, I think you’d be best off running the container with --net host - that way both the hostname, and the mac addresses will be correct.

yes, I would suggest upgrading to 1.3.3 or 1.4.1 - there are a number of important security fixes.

Sven,
thanks for your answer. I can confirm that your suggestion works even though it introduces a strong limitation.

isn’t that the point of the node-locked licenses?

Hi ,
I have the same use case but my container has Windows10 (which doesn’t support --net host option).
Is there any solution to allow license usage inside my docker container ?
I have access to the floating license server (which uses Flexera technology) from my host machine (from which I run the docker). My machine OS is windows10 as well but I have other containers with different OS so it doesn’t really matter in my case if docker container and machine host have the same OS.

So you have the same use case except it is not the same :slight_smile: Windows containers are quite different. As far as I know, Windows containers are still using Hyper-V isolation in most of the cases so it is not so close to the host as it would on Linux. You could try docker run --isolation process with a compatible image but the fact that Windows does not support the host networking mode makes it impossible to install a software which thinks it is running on the phisical machine. So if the licence requires the software to see the MAC address and/or the IP address of the host, I don’t know how could it be achieved. Have you thought to ask it from developers/support of the software? If they support and allow you to run that in containers they can help you. If they don’t support it, then you probably should not do that.

I am not familiar with this solution so it is possible that you could use that somehow to activate the licence in the container, but if you want to talk about it more, I suggest you create a new topoc in the Docker Desktop for Windows. so this topic can show the solution for Linux users. If you open a new topic, please refer to this one so we know where and how it started.

Thanks for the reply rimelek.
Indeed I contacted Flexera service and they’re looking into the issue.