Discourse Upgrade Failed With Ruby 2.4 or above required

The recommended action would have been to just rebuild from the command line. You don’t need to do anything in the container since the rebuild must makes a new one.