Like the topic says:
What are the possibilities to run a software in a container only if a key/serial has been stored?
-Maybe there running a little webserver and database in the container where you can visited a site to enter the key/serial
-or transferring a file where the key/serial is stored to the containers directory
The container would have to “radio” to another server at certain intervals and transmit its host internet IP or the key/serial to see that the image is not being used on other servers for which there is no key/serial.
However, one must not be able to read the data traffic, because otherwise one can also read the key/serial.
Therefore I would prefer that no key but the host internet IP of the server is transmitted.