0

I am trying to mount volume by following the tutorial on this link Deploy container and mount volume - YAML. The relevant portion of yaml file is

volumeMounts:
      - name: filesharevolume
        mountPath: /home/indy/.indy_client/wallet/ 
        readOnly: false
volumes:
  - name: filesharevolume
    azureFile:
      sharename: acishare
      readOnly: false
      storageAccountName: xxxxxxxxxx
      storageAccountKey: xxxxxxxxxx

I am getting this error in container logs

 Caused by: Unexpected sqlite error
  Caused by: database is locked

Folder inside the running container

yatharth meena
  • 369
  • 4
  • 13

1 Answers1

1

The ACI mount is similar to the Docker bind mount. You can see the Note shows it in the link you provide and the Note. And ACI does not have the feature to control the mount mode. So as you guess, if the job needs to use the volume mode to mount the Azure File Share, then you cannot achieve it with ACI.

Charles Xu
  • 29,862
  • 2
  • 22
  • 39