mirror of
https://github.com/yanhao98/docker-example.git
synced 2025-09-18 19:42:52 +08:00
测试同步
This commit is contained in:
@@ -83,7 +83,10 @@ docker logs -f client1
|
|||||||
|
|
||||||
|
|
||||||
## 测试同步
|
## 测试同步
|
||||||
|
```
|
||||||
|
touch ~/share/$(date +%s).txt
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker exec -it client1 touch /share/$(date +%s).txt
|
|
||||||
docker exec -it server ls /shares/share1
|
docker exec -it server ls /shares/share1
|
||||||
```
|
```
|
Reference in New Issue
Block a user