mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 07:23:38 +00:00
Update bind-mounts.md
This commit is contained in:
parent
7753df7681
commit
8a43919e51
@ -30,7 +30,7 @@ $ docker run -d -P \
|
||||
python app.py
|
||||
```
|
||||
|
||||
加了 `readonly` 之后,就挂载为 `只读` 了。如果你在容器内 `/src/webapp` 目录新建文件,会显示如下错误
|
||||
加了 `readonly` 之后,就挂载为 `只读` 了。如果你在容器内 `/opt/webapp` 目录新建文件,会显示如下错误
|
||||
|
||||
```bash
|
||||
/opt/webapp # touch new.txt
|
||||
|
Loading…
Reference in New Issue
Block a user