Answers for "how to give hostname to docker container"

0

how to give hostname to docker container

$ docker run --net mynet123 -h myhostname --ip 172.18.0.22 -it ubuntu bash
Posted by: Guest on July-03-2021

Code answers related to "how to give hostname to docker container"

Browse Popular Code Answers by Language