Open a new Terminal, the title is user@hostname

Hi friends, when i open my terminal, at first time my terminal name is “Terminal 2”, but after one second it becomes this: username@hostname, and title is @hostname;

Do you know why? Should i modify my dockerfile?

In docker, we set it as this:

Here is a snapshot when i want to check my PS1