Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount azure storage to webapp #55046

Closed
JakubW88 opened this issue May 18, 2020 — with docs.microsoft.com · 8 comments
Closed

Mount azure storage to webapp #55046

JakubW88 opened this issue May 18, 2020 — with docs.microsoft.com · 8 comments

Comments

Copy link

Hi,
Can you tell me how connect Azure Storage Account with docker based on azure web app for containers ?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@AjayKumar-MSFT
Copy link
Contributor

@JakubW88, Thanks for leveraging Azure docs feedback channel to post this question.
Azure Storage mounted to an app is not accessible through App Service FTP/FTPs endpoints. So, you can use Azure Storage explorer as mentioned in the document. Kindly let me know if have misunderstood your question and share additional details.

@RyanHill-MSFT
Copy link
Contributor

If you want to mount a folder in your docker container to your storage account, it is possible @JakubW88. Use the 'Mount Storage (Preview)' option under Path Mappings which is under the Configuration blade. Attach your storage account and enter a map path that matches the folder in your docker container. See the screen shot below.

image

Copy link
Author

@RyanHill-MSFT it's exactly what I'm looking for!! I will be testing today!! Perfect!!! Thank you!!

@AjayKumar-MSFT
Copy link
Contributor

@JakubW88, Glad to know that the suggestions provided by @RyanHill-MSFT was helpful. We will close this out, but if you feel you need more information please just let us know.

@sdebruyn
Copy link

@RyanHill-MSFT How do I do this for Docker Compose apps in App Service?

@RyanHill-MSFT
Copy link
Contributor

Sorry it took me so long @sdebruyn, but this will get you going. After creating your storage account and file share, use the Name of your path mapping as the volume mount that's pointed to the directory inside your container. One thing I ran into is that even though I have a directory named logs in my file share, the path mapping still mounted to the root of the share.

image

@sdebruyn
Copy link

sdebruyn commented Mar 4, 2021

Thank you @RyanHill-MSFT, that explains it very well. It seems that this is still a little bit unstable.

@umeshnb
Copy link

umeshnb commented Nov 4, 2023

image
Docker compose is not supported for azure stroage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants