Storage in Azure Container Apps

mlcubed 46 Reputation points
2022-10-28T16:36:56.027+00:00

Hello, I have a docker image that I want to deploy as a Azure Container App. When working locally, I use this docker run command in order to enable persistent storage after restarts (docker run -p 6333:6333 -v $(pwd)/qdrant_storage:/qdrant/storage qdrant/qdrant). I am a bit lost on where to mount the volume using Container Apps? Do I have to use the Azure CLI to specify this (see here) or is it possible to use the "command override" in the Azure platform? If yes, how exactly would I translate the docker run command for use in the yaml file or command override?

Thanks for your help!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,567 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
325 questions
0 comments No comments
{count} votes

Accepted answer
  1. Manu Philip 17,186 Reputation points MVP
    2022-10-31T05:25:06.963+00:00

    Azure File volumes can be mounted in a container app (The volume mounting features in Azure Container Apps are in preview). Other ways of mounts will work as a temporary storage only
    255494-image.png

    If you would like to mount an Azure file volume inside t5he container as a persistent storage, you can follow the document as follows:

    storage-mounts-azure-files

    ----------

    --please don't forget to upvote and Accept as answer if the reply is helpful--


0 additional answers

Sort by: Most helpful