Docker networking... private range or not?

2015-05-19 One-minute read

Am I missing something?

I installed docker and noticed that it created a virtual interface named docker0 with the IP address This behavior is consistent with the Docker networking documentation. However, I was confused by this statement:

It randomly chooses an address and subnet from the private range defined by RFC 1918 that are not in use on the host machine, and assigns it to docker0. Docker made the choice when I started it a few minutes ago...

It seems like RFC 1918 defines:

  • - (10/8 prefix)
  • - (172.16/12 prefix)
  • - (192.168/16 prefix)

How is from the private ranges listed above? Is a potentially public IP address?