Skip to content

Instantly share code, notes, and snippets.

@blaines

blaines/Dockerfile

Created Jan 11, 2019
Embed
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