How can I mount an Azure file share as a volume in my Docker container?

0
1
Asked By MysteriousPenguin42 On

I'm looking to mount an Azure file share as an external volume in Docker. Specifically, I need it so that my Apache Airflow instance, running on Astro, can access the DAG files stored in the Azure file share. Any tips or step-by-step instructions would be greatly appreciated!

3 Answers

Answered By ConfusedDev On

Just to clarify, using Azure file shares typically works when deploying via Azure Container Instances. If you're running Docker locally, I'm not sure it will work the same way. You might want to try mounting it differently.

Answered By TechSavvyWizard On

I came across the Azure File Docker Volume Driver, but I heard it's deprecated. If you're trying to set this up, you might want to avoid that method. Best to stick with the latest guidelines from Microsoft.

Answered By CuriousCoder99 On

You can find a guide on how to do this in the Azure documentation. They have a section specifically on mounting Azure Files as volumes for Docker containers. Check it out [here](https://learn.microsoft.com/en-us/azure/container-instances/container-instances-volume-azure-files) for detailed instructions!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.