Docker and ECS and Logging
Login on the ECS machine
Check docker logs in docker command
rolling logging
> docker logs -f -t 2056531e703d
all logging
> docker logs --tail=all -t 54ac2d08db04
curl Command to execute POST
> curl -X POST -H "X-Parse-Webhook-Key: Pifr80ljB15yqkPo7QUzxxxxxxxxxx" -H "Content-Type: application/json" --data-binary @job1.json https://xxxxxxxx.herokuapp.com/webhooks/function_addJob
job1.json is the JSON file
References:
Docker and ECS and Logging
猜你喜欢
转载自sillycat.iteye.com/blog/2280721
今日推荐
周排行