On startup, COYO will generate a new coyo-default virtual network as docker network bridge with default settings. It's possible that your company network may got the same ip range which would lead to some ip address conflicts in your network.
To find out what IP range your COYO uses, you can use the following commands:
Check the exact name of the network:
docker network ls
The required network will have the name coyo_default by default. (The exact name of the network is derived from the name of the directory in which COYO is located)
With the following command, you can then get the IP addresses of the individual containers:
docker network inspect coyo_defaultThe default ip range starts at: 172.18.0.0/16
If you want to make changes to the virtuell network we suggest to add a networks segment to your docker-compose.yml.
The following snippet will create a virtual docker bridge network called "coyo-vn" with the specified ip-range, subnet and gateway. Just add this at the end of your docker-compose.yml file.
networks:
coyo-vn:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16
gateway: 172.28.0.255
Also you need to assign the network to each container. To do so you need to add after each container the following:
networks:
- coyo-vn
Restart COYO after making these changes with stop.sh and start.sh (start-advanced.sh) script.
This and more information you'll find in the official docker docs.
- Networking in Compose
This and more information you'll find in the official docker docs.
- Networking in Compose