-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenIM-Docker Deployment Issue: Network Overlap #14
Comments
This issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨ |
Hello! Thank you for filing an issue. If this is a bug report, please include relevant logs to help us debug the problem. Join slack 🤖 to connect and communicate with our developers. |
/accept |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
2 similar comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
The Docker deployment plan has been fully upgraded. Please refer to the README for the new scheme. |
OpenIM-Docker Deployment Issue: Network Overlap
When deploying OpenIM-Docker using
docker-compose
, you may encounter the following error:Or there might be issues connecting to the MySQL component.
Diagnosis:
This error occurs because a network gateway on your local machine conflicts with the network that Docker is trying to create.
ifconfig
command or theip a
command to view the networks being used on your host machine.Solutions:
1. Removing Duplicate Networks
If there's a duplicate Docker network that's no longer in use:
List all Docker networks with:
Identify any networks that are redundant or unused and remove them:
Refresh the configuration files:
make init # or ./scripts/init-config.sh
Restart the services:
2. Addressing System-Level Overlaps
If the problem stems from Docker system configurations (due to Docker updates, uninstallation issues, or overlapping network segments):
Set a new network segment using environment variables. For instance,
172.29.0.0/16
:export DOCKER_BRIDGE_SUBNET=172.29.0.0/16
Refresh the configuration files:
make init # or ./scripts/init-config.sh
Restart the services:
Additional Information:
This FAQ offers an insight into addressing potential Docker network conflicts that can arise during deployments. Familiarity with Docker commands and understanding of networking basics is key in resolving such issues swiftly.
The text was updated successfully, but these errors were encountered: