mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 06:28:56 +00:00
Update bind-mounts.md
This commit is contained in:
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
Block a user