Docker-compose run is very slow loading rails environment

Are you using volumes? It might be related with File access in mounted volumes extremely slow, CPU bound