Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[*] update docker compose command to force recreate test database #398

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

qazxcdswe123
Copy link
Contributor

[+] Running 2/0
✔ Container pgwatch3-postgres-1 Running 0.0s
✔ Container pgwatch3-add-test-db-1 Created 0.0s
Attaching to add-test-db-1
Error response from daemon: network 5fd3cac23c91c89c3a2ae3743fb9ef5665a1bca5c3ff1b3a6e43b6cbd53fda16 not found
Gracefully stopping... (press Ctrl+C again to force)

Since the container have been created and exited, it will reattach to the old container and fail. So we need to force recreate after docker compose down if we want to add test db again

@pashagolub pashagolub self-assigned this Mar 14, 2024
@pashagolub pashagolub added the enhancement New feature or request label Mar 14, 2024
@pashagolub pashagolub changed the title Update docker compose command to force recreate test database [*] update docker compose command to force recreate test database Mar 14, 2024
@pashagolub pashagolub added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Mar 14, 2024
@pashagolub pashagolub merged commit 1d3526f into cybertec-postgresql:master Mar 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants