He creado mi pequeña aplicación Python(flask).El contenedor es heredocker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES4146fd976547 identidock_identidock:latest "/cmd.sh" 5 minutes ago Up 5 minutes 9090/tcp, 9191/tcp agitated_leakey
Si lo intento
curl localhost:5000curl: (7) Failed to connect to localhost port 5000: Connection refused
He comprobado sudo netstat-an / grep-E"5000" unix 3 [] CORRIENTE CONECTADA 25000
No es listeting en 5000.línea yaml con puertos
ports: - "5000:5000"
Si ejecuto mi contenedor
docker exec -it agitated_leakey /bin/bashuwsgi@4146fd976547:/app$ netstat -lnbash: netstat: command not found
Mi Dockerfile
RUN pip install Flask==0.10.1 uWSGI==2.0.8WORKDIR /appCOPY app /appCOPY cmd.sh /EXPOSE 9090 9191
Por qué sucede esto?