Skip to content

Instantly share code, notes, and snippets.

@sunsided
Created February 29, 2020 13:48
Show Gist options
  • Save sunsided/7840e89ff4e11b64a2d7503fafa0290c to your computer and use it in GitHub Desktop.
Save sunsided/7840e89ff4e11b64a2d7503fafa0290c to your computer and use it in GitHub Desktop.
WIFIonICE vs Docker: Fixing DB (Deutsche Bahn) WIFI by moving Docker away from 172.18.x.x in /etc/docker/daemon.json
{
"bip": "172.39.1.5/24",
"fixed-cidr": "172.39.1.0/25",
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
@NiklasMM
Copy link

NiklasMM commented Apr 28, 2023

Doesn't work for me =(

The address for docker0 complies, but the br-<somethin> networks continue to use the 172.18.x.x range

Docker version 23.0.4, build f480fb1

Edit:

Ok, just got it working by running docker network prune. Networks created after that will use the new range

@orzechow
Copy link

Nice! 🚀

@leonp5
Copy link

leonp5 commented Jul 17, 2023

I had to delete all already existing container and images. After i did that, it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment