3

I'm deploying to azure container instances from the azure container registry (azure cli and/or portal). Azure blobfuse (on ubuntu 18) is giving me the following error:

device not found, try 'modprobe fuse' first.

The solution to this would be to use the --cap-add=SYS_ADMIN --device /dev/fuse flags when starting the container (docker run):

can't open fuse device in a docker container when mounting a davfs2 volume

However, the --cap-add flag is not supported by ACI:

https://social.msdn.microsoft.com/Forums/azure/en-US/20b5c3f8-f849-4da2-92d9-374a37e6f446/addremove-linux-capabilities-for-docker-container?forum=WAVirtualMachinesforWindows

AzureFiles are too expensive for our scenario.

Any suggestion on how to use blobfuse or Azure Blob Storage (quasi-natively from nodejs) from a Docker Linux container in ACI?

veben
  • 19,637
  • 14
  • 60
  • 80
GGleGrand
  • 1,565
  • 1
  • 20
  • 45

1 Answers1

5

Unfortunately, it seems it's impossible to mount blobfuse or Azure Blob Storage to Azure Container Instance. There are just four types volume that can be mount to. You can take a look at the Azure Template for Azure Container Instance, it shows the whole property of the ACI. And you can see all the volume objects here.

Maybe other volumes which we can mount to Docker Container will be supported in the future. Hope this will help you.

Charles Xu
  • 29,862
  • 2
  • 22
  • 39
  • Is there an update or good news here? or is the situation still the same: no blobfuse on Azure Container Instances? – GGleGrand Nov 21 '20 at 16:04
  • 1
    @GGleGrand It seems there is no update. Maybe you can add the [feedback](https://feedback.azure.com/forums/602224-azure-container-instances) if you really need it. – Charles Xu Nov 23 '20 at 01:46
  • Apparently still no changes to this limitation. The current best approach for this scenario appears to be via Kubernetes: https://github.com/kubernetes-sigs/blob-csi-driver – GGleGrand Sep 15 '21 at 10:25
  • Any updates here? – Srivignesh KN Apr 28 '22 at 13:52