Skip to content

Instantly share code, notes, and snippets.

@alexec
Created June 29, 2021 17:10
Show Gist options
  • Save alexec/7084d588fc6624cbaf45577e68e2f64a to your computer and use it in GitHub Desktop.
Save alexec/7084d588fc6624cbaf45577e68e2f64a to your computer and use it in GitHub Desktop.
How to find out what files are on a Docker image without a shell
docker export $(docker run -d ubuntu) | tar -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment