David Kimura PRO said about 3 years ago on Docker on Rails 7 :
Try docker compose up --build to see if rebuilding the images help. There could have been some weird issue with the file sync. Is this your first time trying docker   or have you been using it for some time?