I want to retrieve my computer's hostname using a container. I want to be able to recieve the same output when I write 'hostname' to my command line on my machine. How can I achieve this?
While I could get my public ip address using 'ifconfig.me' command, the 'ifconfig.me/host' command returns 'unavailable'.