Skip to content

Commit c0504cd

Browse files
committed
Fix example docker command not removing containers on exit
This caused them to restart on reboot due to the restart policy. Signed-off-by: Lilly Rose Berner <[email protected]>
1 parent 5483be9 commit c0504cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

echo/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ Run development environment:
44

55
```sh
66
cp example.config.json config.json
7-
vim config.json # Edit to your liking
7+
vim config.json # Edit the config
88

9-
PROFILE=dev sh -c 'docker compose up --build --watch'
9+
# Run developemnt environment, then remove it again to prevent auto restarts
10+
PROFILE=dev sh -c 'docker compose up --build --watch && docker compose down'
1011
```
1112

1213
To run a production-like setup instead run `docker compose up`.

0 commit comments

Comments
 (0)