docker-tools
docker-tools copied to clipboard
Fix #11 Regex for docker version 1.12
Hi, I change regex when event are trap to extract container ID and event using to new format
New Format
2017-01-11T20:46:26.268651386-05:00 container start bc340bc76860452fb99ce15101765107f0cf32005e9fcb3261407d81d247307d (image=ubuntu:14.04, name=toto)
Original one :
2014-11-28T15:32:04.000000000+01:00 a3d66b00acc9adbdbdbc91cc664d2d94b6a07cc4295c5cf54fcc595e2aa92a43: (from mongo:latest) restart
Sorry my pull request include , my other pull request for systemd startup script :-/ .
Have a nice day .
i've done the same fix, may be the integration of the pull request could help ?