azure - 在 Azure 容器实例中安装卷时出错
问题描述
我正在尝试按照此链接Deploy container and mount volume - YAML上的教程安装卷。yaml文件的相关部分是
volumeMounts:
- name: filesharevolume
mountPath: /home/indy/.indy_client/wallet/
readOnly: false
volumes:
- name: filesharevolume
azureFile:
sharename: acishare
readOnly: false
storageAccountName: xxxxxxxxxx
storageAccountKey: xxxxxxxxxx
我在容器日志中收到此错误
Caused by: Unexpected sqlite error
Caused by: database is locked
解决方案
ACI 挂载类似于 Docker 绑定挂载。您可以看到注释显示在您提供的链接和注释中。而且 ACI 没有控制挂载模式的功能。所以你猜,如果作业需要使用卷模式来挂载 Azure 文件共享,那么你无法通过 ACI 来实现。
推荐阅读
- html - 如何根据所选选项的高度调整选择菜单的大小?
- android - 大约 20 分钟后,某些 Android Oreo 手机上的应用程序被杀
- html - 将类切换到角度 4 中的一个按钮
- graphql - 远程服务器上的 Apollo Playground
- java - 尝试运行 HAPI TestPanel 源代码
- gwt - 像 GWT ListBox.setVisibleItemCount() 一样,SmartGWT 中是否有可用的 API
- ios - 图像无法正常工作 Xamarin Cross
- hyperledger-fabric - 在 Hyperledger Fabric v1.2 中实现 ACL
- python - 如何在 Python 中将此字符串转换为整数和其他字符串
- javascript - 4 vAxes - 谷歌图表