Every time when I start a Docker container my RPi device loses it wireless board configuration. By configuration I mean that it loses its IP address, the DNS resolver and the gateway settings.
Because of that I can't connect to device on net, has anyone had a similar issue before?
# Before Docker container starts
wlan0 Link encap:Ethernet HWaddr b8:27:eb:a8:93:73
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ada4:3dc4:b933:7a5b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:525 errors:0 dropped:19 overruns:0 frame:0
TX packets:411 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:558627 (545.5 KiB) TX bytes:48299 (47.1 KiB)
# After Docker container starts
wlan0 Link encap:Ethernet HWaddr b8:27:eb:a8:93:73
inet6 addr: fe80::ada4:3dc4:b933:7a5b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5830 errors:0 dropped:19 overruns:0 frame:0
TX packets:4087 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5743386 (5.4 MiB) TX bytes:566484 (553.2 KiB)
Some notes:
- This happens with any container, not a specific one;
- To stop the issue I just need to stop all containers that are running.