centos6.10安装docker1.7.1版本,提示--tmpfs未定义
docker吧
全部回复
仅看楼主
level 1
heihudie1027 楼主
麻烦问下群里大佬,提示flag provided but not defined: --tmpfs是什么原因;
运行的命令:docker run -d --name=wxedge --restart=always --privileged --net=host --tmpfs /run --tmpfs /tmp -v /data/wx:/storage:rw onething1/amd64-wxedge:2.4.3
2024年01月18日 03点01分 1
level 5
请尝试:docker run -d -it --name tmptest --tmpfs /app nginx:latest
如果能正常运行,说明tmpfs 命令存在,但是你用错了。
2024年04月08日 06点04分 2
level 5
我参考的是这个网站 https://docs.docker.com/storage/tmpfs/
2024年04月08日 06点04分 3
level 5

https://docs。docker。com/storage/tmpfs/
复制上面网址,查看官方文档。
2024年04月08日 06点04分 4
1