murat.ustuntas PRO said over 2 years ago on Docker on Rails 7 :
After downloading your source file, I ran it without making any changes, following all your commands. Sorry I encountered this error. I didn't make any changes on the Dockerfile and docker-compose.yml. The volumes still same as in the docker-compose.yml

volumes:
  bundle:
  node_modules:
  postgres:

Also, my docker version is Docker version 20.10.9, build c2ea9bc90b