Skip to content

Commit 42317a3

Browse files
authored
Merge pull request #303 from shawxr/patch-1
Update bind-mounts.md
2 parents 5603887 + 8a43919 commit 42317a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_management/bind-mounts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ $ docker run -d -P \
3030
python app.py
3131
```
3232

33-
加了 `readonly` 之后,就挂载为 `只读` 了。如果你在容器内 `/src/webapp` 目录新建文件,会显示如下错误
33+
加了 `readonly` 之后,就挂载为 `只读` 了。如果你在容器内 `/opt/webapp` 目录新建文件,会显示如下错误
3434

3535
```bash
36-
/src/webapp # touch new.txt
36+
/opt/webapp # touch new.txt
3737
touch: new.txt: Read-only file system
3838
```
3939

0 commit comments

Comments
 (0)