-
Notifications
You must be signed in to change notification settings - Fork 866
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
Cannot work CentOS, but Ubuntu work fine #52
Comments
Anyone know how to resolve it? thanks in advance. |
Looks like CentOS Docker local networking working. You can add your own private network and use IP addresses.
|
@bclincy Thanks for guidance. My server was a new creation, so I could decide which one I can install with less issue. Since the problem I posted before, therefore I decided to adopt the Debian Linux. And it works fine like Ubuntu. And I'm sorry I won't be back CentOS for further try. I leave this to comment by others if someone check it. |
I have tried both CentOS 8 and Ubuntu 20.10.
It's quite simple, just able to make it work perfectly in Ubuntu 20.10.
But same docker-compose.yml cannot work in CentOS 8. I have tried many time re-installation of CentOS. Unfortunately just failed.
The docker compose is well completed. But when I visit 127.0.0.1:8000, it just feedback "502 Bad Gateway". Access 127.0.0.1:8080 for PhpMyAdmin, it appear the query of host/account/password. When I input the host/account/password, it gives message " mysqli::real_connect(): (HY000/2002): No route to host".
I tested the Ubuntu and CentOS back and forth twice on "same" machine. The Ubuntu can work everytime. The CentOS failed everytime.
The text was updated successfully, but these errors were encountered: