schollz / howmanypeoplearearound

Count the number of people around you :family_man_man_boy: by monitoring wifi signals :satellite:
MIT License
6.92k stars 386 forks source link

Create Dockerfile #21

Closed cclauss closed 7 years ago

cclauss commented 7 years ago

Trying to fix https://github.com/schollz/howmanypeoplearearound/issues/6 This does the full build but does not provide any data packets on my Mac but maybe others will have more luck on more promiscuous OSes.

To use:

schollz commented 7 years ago

@cclauss Fantastic! Really nice work.

cclauss commented 7 years ago

Thanks but does it actually allow you to collect packets? It does not on Docker for Mac.

schollz commented 7 years ago

Yes. You have to add --net=host and it works just fine for me for Docker on Ubuntu

cclauss commented 7 years ago

Add --net=host on which command?

We need to add something on how to use the Dockerfile into README.md.