Add docker-compose/README.md

This commit is contained in:
2024-12-11 02:05:04 +00:00
parent 099a910365
commit 3b4856f532

22
docker-compose/README.md Normal file
View File

@@ -0,0 +1,22 @@
```
services:
test:
container_name: test
image: python:slim
entrypoint: bash -c
command:
- |
echo hello
echo world
tail -f /dev/null
```
```
w@ws-Mac-mini ~ % docker compose up
[+] Running 2/0
✔ Network w_default Created 0.0s
✔ Container test Created 0.0s
Attaching to test
test | hello
test | world
```