ContainerSolutions / docker-cobbler

Cobbler in a Docker container
50 stars 29 forks source link

Remove the --net as ports are already exposed Fix #1 #8

Open renukasgithub opened 6 years ago

renukasgithub commented 6 years ago

Removing --net, ports are already exposed. Also using the docker hosted environment on the MAC does not work.

incebellipipo commented 5 years ago

In web post, motivation behind --host is clearly explained.

We also want to use the network stack of the host, so Cobbler will listen on and offer ip addresses on a subnet that the host is connected to. If it would use it's own network stack Cobbler would only be able to issue addresses in the private docker subnet, which would not really make any sense because every container already gets an address from the docker engine.