Can somebody tell me how to set a container's ip to a specific one ? I dont want to set the bridge to set of ips. All the results i get in net is to set range of ips to the docker bridge.
Asked
Active
Viewed 789 times
1 Answers
3
You can use an existing IP of the host like so:
docker run -p 127.0.0.1:80:80 image etc.

qkrijger
- 26,686
- 6
- 36
- 37
-
always funny, that a new user cannot accept or vote on an answer :) You're welcome anyway – qkrijger Mar 25 '14 at 17:38