mirror of
				https://github.com/yeasy/docker_practice.git
				synced 2025-11-04 03:41:34 +00:00 
			
		
		
		
	Update bind-mounts.md
This commit is contained in:
		@@ -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
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user