-
Notifications
You must be signed in to change notification settings - Fork 2
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
Impossible de démarrer le conteneur Docker : "cannot start service nginx" #31
Comments
Même en supprimant l'image et en relançant compose up, ça ne fonctionne toujours pas : PS C:\Users\$USER\Documents\GitHub\Pro\mdchecker> docker rmi -f 9e988ed19567
Untagged: nginx:latest
Untagged: nginx@sha256:0ffc09487404ea43807a1fd9e33d9e924d2c8b48a7b7897e4d1231a396052ff9
Deleted: sha256:9e988ed19567262bd07d62a8e51b3c0db8bda5d7afd63268860aabfe04d46168
PS C:\Users\$USER\Documents\GitHub\Pro\mdchecker> docker-compose up -d
Pulling nginx (nginx:latest)...
latest: Pulling from library/nginx
8176e34d5d92: Already exists
cb1142c3ae99: Already exists
45b531966c63: Already exists
Digest: sha256:0ffc09487404ea43807a1fd9e33d9e924d2c8b48a7b7897e4d1231a396052ff9
Status: Downloaded newer image for nginx:latest
Starting mdchecker_mdchecker_1 ... done
Starting mdchecker_nginx_1 ... error
ERROR: for mdchecker_nginx_1 Cannot start service nginx: Cannot link to a non running container: /mdchecker_mdchecker_1 AS /mdchecker_nginx_1/mdchecker
ERROR: for nginx Cannot start service nginx: Cannot link to a non running container: /mdchecker_mdchecker_1 AS /mdchecker_nginx_1/mdchecker
ERROR: Encountered errors while bringing up the project. |
Chez moi ça démarre sans gros soucis:
Après, l'appli m'envoie des 502 bad gateway par exemple sur http://localhost:8080/new_session/creation/?cat=G%C3%A9oBretagne&OrganisationName=dreal&anytext=&maxharvest= Pour ton problème plus spécifique, je pense que c'est lié à ton OS : je soupçonne que les images que nous utilisons sous linux ne sont pas compatibles windows ! |
J'utilise des images Linux sur Docker Windows (et non des images Docker Windows). A priori, ça devrait passer... Ai-je manqué une étape de config ? volume, port... |
Est-ce que ce ne serait simplement que le port (8080 par défaut je crois) qu'est censé utiliser le nginx du docker-compose de mdchecker est déjà utilisé par autre chose sur ton poste (l'autre nginx ou un tomcat) ? Sinon le message d'erreur a l'air de dire que le container nginx n'arrive pas à se connecter au container mdcheker parce que ce dernier n'existerait pas alors qu'il indique juste avant qu'il existe bien. |
J'ai suivi la doc d'installation mais le compose up plante :
Env: W10 Pro

docker images
:J'ai l'impression que cela provient d'un conflit avec mon image nginx, pourtant l'officielle.
The text was updated successfully, but these errors were encountered: