Skip to content

Instantly share code, notes, and snippets.

@colthreepv
Created April 13, 2018 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colthreepv/2aa42fbef629f82bb50d0ce0daf9ab5a to your computer and use it in GitHub Desktop.
Save colthreepv/2aa42fbef629f82bb50d0ce0daf9ab5a to your computer and use it in GitHub Desktop.
Inspect docker context
FROM alpine
RUN apk --no-cache add ncdu
COPY . /tmp/context
ENTRYPOINT ncdu /tmp/context
#!/bin/sh
docker build -f Dockerfile-context . -t dockerfile-context && docker run --rm -it dockerfile-context && docker rmi dockerfile-context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment