Docker container stopped after getting tokens

Hi All,
I followed the example of ory hydra login consent example and was able to get the tokens. Once I get the tokens from ory hydra the container which I run exit. So, for example, I follow the same login process for one of my application which has many users means how should I do it as I need to token for each user. Can someone point to me how it can be done?

Thanks in advance