Assign static ip to docker container

At the core, docker does not allow you to assign static ip to its containers.  You can do so but by defining your own private network.  Below tutorial does this: First of all, you need to define your own network.  Something like below: docker network create –driver=bridge –subnet=172.10.0.0/16 –ip-range=172.10.1.0/24 –gateway=172.10.1.254 private Next all is left … [Read more…]