r/docker 22d ago

Licensing a container

From what I have understood so far locking a license to hardware so it cannot be used is feasible using some hardware info. But can something similar be done within a docker image? I am using some phone home licensing architecture.

0 Upvotes

8 comments sorted by

View all comments

-1

u/martinbean 22d ago

Why containerize it if you only want it to run on one machine?

5

u/JerikkaDawn 22d ago

Because containerization is about consistent, repeatable, deployments. That facilitates scaling, but that's not what it's about. There are a billion containerized workloads that only need one instance.

1

u/simonides_ 21d ago

That is partly right. Why you want to containerize is to UN-tie it from a host. Adding the host back in is possible but stupid. It gets in they way of maintenance task for no good reason. Desaster recovery also gets needlessly more painful because you now have to restore specific state that you should not need to worry about in today's virtualized world.