Update bind-mounts.md

This commit is contained in:
shawxr 2017-12-26 16:05:26 +08:00 committed by GitHub
parent 5603887437
commit 7753df7681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
```