Skip to content

Commit

Permalink
Merge pull request #79 from Dstack-TEE/remove-orphans
Browse files Browse the repository at this point in the history
compose: Add --remove-orphans to docker compose up
  • Loading branch information
kvinwang authored Dec 24, 2024
2 parents 6c3407e + a3dacc4 commit ca79de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basefiles/app-compose.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
tdxctl notify-host -e "boot.progress" -d "starting containers" || true
if ! docker compose up -d; then
if ! docker compose up --remove-orphans -d; then
tdxctl notify-host -e "boot.error" -d "failed to start containers"
exit 1
fi
Expand Down

0 comments on commit ca79de1

Please sign in to comment.