Skip to content

Instantly share code, notes, and snippets.



Created Jan 11, 2019
What would you like to do?
Dockerfile to echo Docker events to STDOUT (So they are captured by logs)
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