Skip to content

Instantly share code, notes, and snippets.

@jamesmoriarty
Created May 7, 2022 11:24
Show Gist options
  • Save jamesmoriarty/67dbacd884504de8a004239ff09e42bf to your computer and use it in GitHub Desktop.
Save jamesmoriarty/67dbacd884504de8a004239ff09e42bf to your computer and use it in GitHub Desktop.
Dump Docker image contents without shell access
$ docker export $(docker ps -lq) | tar tf - | egrep config
usr/sbin/tzconfig
usr/share/man/man5/config.5ssl.gz
usr/share/man/man5/x509v3_config.5ssl.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment