Je voudrais lancer sur l'instance EC2 simple API construire dans Falcon et gunicorn. Je voudrais accéder à cette API à partir du conteneur docker installé sur cet hôte via le pont (docker0 IP 172.17.0.1).Docker bridge et Falcon gunicorn
Je courais application API en utilisant la commande gunicorn:
gunicorn -b 172.17.0.1:8000 simple api: api
Je peux cingler cette adresse IP de docker et je peux telnet sur le port 8000 mais quand j'exécute la commande POST curl je reçois l'erreur suivante:
< HTTP/1.1 404 Not Found
* Server gunicorn/19.7.1 is not blacklisted
< Server: gunicorn/19.7.1
< Date: Tue, 23 May 2017 08:26:01 GMT
< Connection: close
< content-type: application/json; charset=UTF-8
< content-length: 0
<
* Closing connection 0