Update bind-mounts.md

pull/303/head
康怀帅 2017-12-26 16:12:28 +08:00 committed by GitHub
parent 7753df7681
commit 8a43919e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ $ docker run -d -P \
python app.py
```
加了 `readonly` 之后,就挂载为 `只读` 了。如果你在容器内 `/src/webapp` 目录新建文件,会显示如下错误
加了 `readonly` 之后,就挂载为 `只读` 了。如果你在容器内 `/opt/webapp` 目录新建文件,会显示如下错误
```bash
/opt/webapp # touch new.txt