Closed wodingdong closed 3 years ago
I restart my machine,and find one of containers not start
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ea64dc2c3967 inputoutput/cardano-db-sync:11.0.0 "/nix/store/1g8l29dx…" 2 weeks ago Up 5 hours cardano-graphql_cardano-db-sync-extended_1 486bbaa202b9 inputoutput/cardano-graphql-hasura:5.1.0 "docker-entrypoint.s…" 2 weeks ago Exited (255) 5 seconds ago cardano-graphql_hasura_1 baf946ac4b62 inputoutput/cardano-graphql:5.1.0-mainnet "node index.js" 2 weeks ago Up 19 minutes 0.0.0.0:3100->3100/tcp, :::3100->3100/tcp cardano-graphql_cardano-graphql_1 ef003c917ac8 cardanosolutions/cardano-node-ogmios:v4.0.0-beta.9-mainnet "bash cardano-node-o…" 2 weeks ago Up 4 minutes 3000/tcp, 12788/tcp, 0.0.0.0:1337->1337/tcp, :::1337->1337/tcp, 12798/tcp cardano-graphql_cardano-node-ogmios_1 a6993a21c6b4 postgres:11.5-alpine "docker-entrypoint.s…" 2 weeks ago Up 16 hours 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp cardano-graphql_postgres_1
I just type docker start -a 486bbaa202b9 it outout put log then I type:
docker start -a 486bbaa202b9
curl -X POST -H "Content-Type: application/json" -d '{"query": "{cardano { tip { number slotNo epoch { number } } } }"}' http://localhost:3100/graphql
it return
curl: (56) Recv failure: Connection reset by peer
When my machine restarts, how should I start the container correctly?
Please provide the logs for this container:
docker logs -f 486bbaa202b9
I restart my machine,and find one of containers not start
I just type
docker start -a 486bbaa202b9
it outout put log then I type:it return
When my machine restarts, how should I start the container correctly?