This is basically how I do it too.
I used to be more creative but then I got in the habit of running more servers and swapping hardware more frequently so it got harder to remember what hardware I was actually connecting to. Now they get hardware based names and everything else is named by service-based Ansible roles.
I’m assuming your phone has to be rooted for this right? Or is docker running without root? I didn’t realize anything like this was possible. This is interesting.