Update bind-mounts.md
parent
5603887437
commit
7753df7681
|
@ -33,7 +33,7 @@ $ docker run -d -P \
|
|||
加了 `readonly` 之后,就挂载为 `只读` 了。如果你在容器内 `/src/webapp` 目录新建文件,会显示如下错误
|
||||
|
||||
```bash
|
||||
/src/webapp # touch new.txt
|
||||
/opt/webapp # touch new.txt
|
||||
touch: new.txt: Read-only file system
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue