Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Draft

Note

This is a draft and not a recommendation

Background

In testing, one ITC had a conflict with the IP addresses assigned automatically by Docker.  They tried to adjust the default docker bridge network but that did not resolve the issue. Per this article, IP ranges can be adjusted in the docker-compose.override file. Examples follow.

...

Code Block
networks:
   proxy:
     external:
        name: proxy_default

docker inspect test_default (that was the name of the network created)shows this in the IPAM section:
 "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "172.19.0.0/16",
                    "Gateway": "172.19.0.1"
                }
            ]
        },

Modified docker-compose.override.yml file (network section) and results from inspecting the network created:

...

Code Block
Version: "3.3"

networks:
   proxy:
     external:
        name: proxy_default
   default:
     ipam:
        driver: default
        config:
          - subnet: 172.30.0.0/24


Content by Label
showLabelsfalse
max5
spacesrtd
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "docker" and type = "page" and space = "rtd"
labelsdocker

...