Hi @Bharani ,
Thanks for contacting Microsoft Q&A platform.
Containers are meant to be stateless. I won't recommend storing states in the containers as they can be moved around VMs anytime (which would lead to loss of data).
There are multiple ways to store the state of the containers. One of the way is to store this information into persistent file system.
Another way is to store the result of process into some form of database (could be SQL or NoSQL database). Azure does support variety of hosted database solutions also.
Once these are implemented, it would be easy to see the state of the system and fetch the newer state of the system too. You should be able to connect to database to see the current state and take corrective actions if required too.
Hope this solves your query.
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics