Azure File Shares as Container Volume Mounts

preview_player
Показать описание
Azure File Shares are a great place to persist data for your App Service containers, but how do you set it up? In this video, we'll discuss why you need to use volume mounts to safely store files outside of a Docker container and walk through how to use an Azure Storage File Share as a volume mount within an Azure App Service.

------------- CHAPTERS -------------
00:00 - Put it in a container...
00:19 - Welcome
00:29 - Why volume mounts are important
01:35 - Example use case
02:12 - Prerequisites
02:27 - Configuring Azure Storage
03:08 - Configuring the Azure App Service
04:35 - Wrap Up

Don't forget to comment, like and subscribe 🚀

💬 JOIN US ON DISCORD

🧑‍💻 LET'S CONNECT ON SOCIAL

#azure #azurestorage #containers
Рекомендации по теме
Комментарии
Автор

I love using Docker containers and Azure makes it pretty simple to get started. Are you using containers in your Azure App Services? How are you handling files that need to be saved/read by your application?

BaldBeardedBuilder
Автор

Here I was scratching my head as to how this file share system works, thinking it was rocket science.. And you, my man, have saved me after hours and hours of being confused. Thank so much! ❤

SuperGeneralCrazy
Автор

You made a video about how to use Azure File Shares in a container... Then skipped over the how to use Azure File Shares part.

I just need to add 4 files that total less than 500KB combined into a Docker container. Why is this so hard?

LostOnTheLine
Автор

concise and excellently explained... thank you!

BTCHKLLR
Автор

In terms of saving data into permanent storage my route has always been to save them directly to blob storage natively, whether I'm running it in an Azure container, locally, or just running the app natively on my own computer with no docker I always do that.
I would guess the benefit of your approach is (theoretically at least) you can shift your container from Azure to AWS or GCP or some other docker cloud provider and work with whatever storage mechanism they provide.

judgewest
Автор

This docker compose file is not complete. You named the volume and the target directory, but you did not show the part where File Share is mapped to the container.

lecadou
Автор

I was looking for this solution long time
Thank you so much for solving it

Keep continuing the same

cdfcloud
Автор

I did not understand how to create the yml file. Could you give us some step-by-step information. Newbe here!

cabarini
Автор

Love it, saved me too. Thanks a million Michael!

bretthenning
Автор

Amazing, Thanks for the nice tutorial

alitswq
Автор

Has some things changed? I can see the documentation that docker-compose is not supported for bring your own storage with azure app service

architdhiman
Автор

Great video for starters, can you incorporate secrets within the container that has volume mounts

Auxanuite
Автор

Nice tutorial, after doing volumen mount how can I now enter insider the container and check whether the files are available inside the directory of the container? I tried doing with ftp but i could not find any thing there.

YogiHosting
Автор

how can I use azure share file as bind mount for docker container ?

ghoufranghazaly
Автор

When I saw "File Share as Container" I tought the video is related to use dbutils.fs.mount(source="wasbs://", mount_point="/mnt/azure_ml", extra_configs=) with fileshare. But this is not the right video.

vliopard
Автор

I have issues mounting files for my WordPress site. It's not storing data to file share even path is specified

thomassachinjohn
Автор

Thanks for your unique tutorial, btw I try to use it to persist mongodb data into but mongodb can't access the directory that I specified and it writes data in the root of storage
here is my volume config:
volumes:
- data-db:/data/db
that data-db is a path mapping that refers to a folder name data-db.
can u see where did I miss?

vakarami
Автор

We are using linux app service in azure portal for our PHP project. We want to use Azure storage blob to save pdfs. We want to move all our existing pdfs that are inside the project folder in that app service into the azure storage file share. Can you tell us how do we do that? Is there any provision to directly move the app service files into azure storage

nanikhil
Автор

Is it possible to mount the share file in docker-compose while using Azure Container Instances and not App Service ?

samanthaletourneau
Автор

is there any way to do that without docker compose?

mohammadlatta