All changes need to come from the outside, I strongly recommend against changing stuff inside containers, next time you bootstrap they will be gone.
FYI to restart stuff inside a container use sv
sv stop unicorn
sv start unicorn
sv stop sidekiq
sv start sidekiq