Configuring Docker Network Ranges

Starting with Appliance version 1906, Docker containers are included as part of the base configuration. The docker networking starts creating networks in the 172.16.X.X/16 range and continues in this range. However, the 172.16.X.X range is a common network used in enterprises, and as such may conflict with already established networks.

The following ranges are reserved for private networking: -  ( -   ( -   ( 

To change Docker from using the 172.16.X.X to 172.31.X.X range perform the following:

  • Login to appliance as smeconfiguser
  • Become root
su -
  • Create/Edit the following file with your favorite editor:
  • Insert the following code into daemon.json. Adjust the network ranges to suit the environment.
  "default-address-pools" : [
      "base" : "",
      "size" : 24

This example will allow docker to use the 10.219.X.X range creating individual networks with up to 256 IPv4 addresses.

Restarting with the New Range

Once the steps above are complete, the appliance will need to be rebooted with the docker containers shutdown.

cd /var/www/smestorage/containers/content-extraction/
docker-compose down

After the reboot is complete. Run the following to start the containers again and verify the network ranges.

cd /var/www/smestorage/containers/content-extraction/
docker-compose up -d
ip a

Below is an example of the output from ip a

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies