Search code examples
archive

Is creating a docker container effectively offering a guarantee that some program can be run long in the future (let us say 25 years)?


Let's say I have a program, quite complex, relying on many packages / dependencies, and I want to make sure that I will still be able to run it all in 25 years from now.

Is docker (or similar) containerization a way to (realistically) allow this? Or is this outside of the scope of what a docker container offers?

If this sort of containerization is not the way to go, any other suggestion?

Note:

If you believe that this question is outside of the scope of Stackoverflow, please feel free to comment about it and I will remove it. In this case, any suggestion of where I could post it?


Solution

  • Version out EVERYTHING, OS, Docker Img, any dependency and in theory, yes you can build something that will last 25 years if you satisfy all those things that require your docker image to work, disabling automated updates if any of those dependencies might be helpful and not recommended but it will fulfill the task of working out for 25 years.

    Build a REALLY STRONG Documentation about your docker image, unless it's going to be a nightmare to do maintance for future developers and best of luck my friend, I don't recommend you doing this tbh

    A quick example is DOOM, you can run it almost everywhere, certainly there might be a way be a way to make your docker image work after 25 years