net aspire volumens#3556
Conversation
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSIDocumentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
weikanglim
left a comment
There was a problem hiding this comment.
LGTM! Really cool that we're now supporting persistent stores with relative few lines of changes.
|
I tried this with a postgres container but it fails to initialize itself due to permissions errors when it tries to chmod paths in the mounted volume on start: |
|
@DamianEdwards , that issue looks unrelated to mounting the volume, but to the container itself. See: https://stackoverflow.com/questions/56188573/permission-issue-with-postgresql-in-docker-container |
|
Seems this is a known issue when using Azure Files shares and mount volumes in containers: https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/could-not-change-permissions-azure-files Another post: https://learn.microsoft.com/en-us/answers/questions/89827/how-can-i-change-folder-or-file-permissions-when-m |
fix: #3515