diff --git a/docker-compose/README.md b/docker-compose/README.md new file mode 100644 index 0000000..b999868 --- /dev/null +++ b/docker-compose/README.md @@ -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 +```