#Following up on this: I don't think I
1 messages · Page 1 of 1 (latest)
docker compose run --rm web psql -h db -d postgres -U postgres -c "SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname ='warehouse';"
[+] Running 4/0
✔ Container warehouse-elasticsearch-1 Running 0.0s
✔ Container warehouse-redis-1 Running 0.0s
✔ Container warehouse-db-1 Running 0.0s
✔ Container warehouse-stripe-1 Running 0.0s
Error response from daemon: no such image: warehouse:docker-compose: No such image: warehouse:docker-compose
make: *** [Makefile:101: initdb] Error 1
The only warehouse related image I can find on docker hub is pypa/warehouse-camo image
I'm not sure where the warehouse:docker-compose image is meant to come from.
That image should be produced when you complete a make build prior to initdb
Ok, i figured that would be the case. I've run make build a few times now and it appears to be successful but I'll look back through my command history to make sure I didn't miss something.
Thank you @slender anchor
I swear I already tried this but make purge then rerunning make build && make initdb worked. I must have missed something a couple time. Appologies for all the noise and I really appreciate the responses.