首先创建Azure Storage Account
az storage account create -g ${} -n {}
创建file share
az storage share create --account-name ${} -n ${}
启动容器
注意: --privileged=true 需添加此参数,若未添加,后期挂载会报权限不足问题
sudo docker run -it --privileged=true ubuntu
获取连接脚本

将脚本粘贴到容器执行即可
注意:
有些容器需要将脚本中sudo去掉
若报错:no route to host 请执行以下命令
sudo apt-get update
sudo apt-get install keyutils
sudo apt-get install cifs-utils