I use docker with drone for my continuous integration jobs and all local queries about the job's ip address and hostname are a lie because docking is rewriting everything.
I'd really like to know which box a job is ruing on when the job begins, and the only way I can think to do this is to query an exteal service that does an IP lookup of the origin and (optionally) resolves to a hostname (my jobs are trusted, so they have access to the interwebz to resolve their dependencies).
Is there a command line tool (available for Debian) that would be able to resolve the hostname of the machine they are ruing on by using an exteal service?
برچسب:
نویسنده: استخدام کار