Created
January 11, 2019 01:20
-
-
Save blaines/247a6539a4c1ff2f72a0931decb0d6c4 to your computer and use it in GitHub Desktop.
Dockerfile to echo Docker events to STDOUT (So they are captured by logs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
RUN apk add --no-cache curl | |
ENTRYPOINT curl -sf --unix-socket /var/run/docker.sock -H "Content-Type: application/json" -X GET http:/v1.39/events |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment