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?

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

4 Comments

Is there an update or good news here? or is the situation still the same: no blobfuse on Azure Container Instances?
@GGleGrand It seems there is no update. Maybe you can add the feedback if you really need it.
Apparently still no changes to this limitation. The current best approach for this scenario appears to be via Kubernetes: github.com/kubernetes-sigs/blob-csi-driver
Any updates here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.