使用--mount标志替换-v标志。
下面是示例命令:
使用-v标志: docker run -d -it -v /path/on/host:/path/in/container --name my_container my_image
使用--mount标志: docker run -d -it --mount type=bind,source=/path/on/host,target=/path/in/container --name my_container my_image
使用--mount标志具有更多选项,例如指定挂载类型和是否只读等等。更多详细信息,请参阅Docker官方文档的--mount选项部分。
下一篇:编辑DocuSign签署登陆页面