【发布时间】:2021-06-18 11:49:57
【问题描述】:
我正在尝试启动多个服务并挂载 tmpfs,但找不到任何方法将“exec”权限传递给此命令。
docker run -d \
-it \
--name tmptest \
--mount type=tmpfs,destination=/app \
nginx:latest
当您启动单个容器时,它与 --tmpfs /tmp/test:exec 完美配合,但我一直在努力使其与 --mount type=tmpfs,destination=/app 配合使用,但仍然没有找到任何东西。
也许任何一个好的想法来解决它或者我错过了什么。
【问题讨论】:
标签: docker permissions mount tmpfs