gabi PRO said about 2 years ago on Docker on Rails 7 :
murat.ustuntas I see you mentioned about 4 months ago you found a solution for an error you were seeing regarding Nokogiri. I'm not sure I understand exactly what your solution was. You said:

I found problem i think, Gemfile.lock file contains nokogiri. When moving Gemfile.lock and bundle install then problem solved. 

What does that mean? Did you remove the Gemfile.lock? I'm seeing similar errors to your and would appreciate the help.