| by Scott Kilroy | No comments

Docker hostname option

You can control the hostname when you start a container by using the –name option
docker run –rm -ti –hostname =”mycontainer.linuxconsultant.org” ubuntu:latest