I got that error after upgrading docker on my Ubuntu machine and string the project. The simple rebuild fixed the issue:
@docker compose up -d --build && docker-compose start