How to download container instances?

Karthikeyan M 1 Reputation point

I have a container instance running in Azure - I want to download the instance - how can this be done?

This is an instance which has an web application running which are essentially learning modules and the modules are marked complete as I make progress. I can easily pull a fresh one from the repository and create a new instance, but the progress will be lost

Is there a way to download the instance or capture the state to be reused later?

Any ideas/suggestions are welcome

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
508 questions
{count} votes

1 answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,741 Reputation points Microsoft Employee

    @Karthikeyan M Apologies for the delay in response.

    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

    2 people found this answer helpful.
    0 comments No comments