Skip to content
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

connect errror and docker container always restarting #20

Closed
Archerkong opened this issue Jul 15, 2022 · 2 comments
Closed

connect errror and docker container always restarting #20

Archerkong opened this issue Jul 15, 2022 · 2 comments
Assignees

Comments

@Archerkong
Copy link

os:centos7
docker version:Docker version 18.09.0, build 626ff85

when a request the url ,it repsonse the state of 502 Bad Gateway nginx/1.23.0
so when i check the docker env ,i find mesq/cervantes and postgres:latest alway restarting state
i tried stop the containers and start ,the state always staying restarting

[root@aaaaaa ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cb19e52a85cb nginx:latest "/docker-entrypoint.…" About an hour ago Up About an hour 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp cervantes-nginx
fa67c4d015d8 mesq/cervantes "dotnet Cervantes.We…" About an hour ago Restarting (139) 57 seconds ago cervantes-app
c30618d75a50 postgres:latest "docker-entrypoint.s…" About an hour ago Restarting (2) 4 seconds ago cervantes-db

wait for help.........

@mesquidar
Copy link
Member

Hi @Archerkong , can you sent me the logs of both containers? :)
You saw any error when you executed the docker-compose up?

Thank you
Best regards

@mesquidar mesquidar self-assigned this Jul 20, 2022
@mesquidar
Copy link
Member

Hi! I will close this issue there's no update in 10 days
If the error persist please reopen this issue :)

Thank you
Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants