coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
514 stars 257 forks source link

CoovaChilli on Docker #526

Open scbmeren opened 3 years ago

scbmeren commented 3 years ago

Hi team,

It is possible to have Coova running on docker? Do you have any recomendation guide?

kind regards Sergio

djkerya commented 3 years ago

I am also curious

sjbeskur commented 3 years ago

@djkerya @scbmeren, I believe it is indeed possible but you will need to use the --network host flag when starting the docker container as it will need to access your host interfaces. That is how I got it to work.

djkerya commented 3 years ago

@djkerya @scbmeren, I believe it is indeed possible but you will need to use the --network host flag when starting the docker container as it will need to access your host interfaces. That is how I got it to work.

Anyway I can not make it run as described in manual, because of #381

sjbeskur commented 3 years ago

@djkerya did you try to mount the volume using the flag -v /mychilli-dir:/etc/chilli (something like that). Also within docker you will need to run coova in the foreground so you should not even need the init.d scripts.... the generated files mentioned in #381 are mostly (if not all) configuration and almost all of these options can be passed in via the command line.