You have an application that needs to persist data in a container. The container needs to run on several VMs with access to the same files

You have an application that needs to persist data in a container.  The container needs to run on several VMs with access to the same files.

An associate suggests that you use a bind mount.

Does this solution meet your needs?

A) No

B) Yes

You have an application that needs to persist data in a container.  The container needs to run on several VMs with access to the same files

Explanation

A bind mount will not work. You should use a named volume or a SMB volume instead.

A bind mount allows you to have a place to store files on the local machine if you need to share the files with multiple containers or if you need to restart the container.

A SMB mount or named volume can have the container run on several VMs with access to the same files.

 

Objective:

Describe core Azure services

Sub-Objective:

Describe core resources available in Azure

References:

Container Storage Overview | Microsoft Docs

Persistent Storage in Containers | Microsoft Docs

0 கருத்துகள்

Thanks for your comment

கருத்துரையிடுக

Thanks for your comment

Post a Comment (0)

புதியது பழையவை