Skip to content

Instantly share code, notes, and snippets.

@martinrusev
Created November 13, 2014 17:07
Show Gist options
  • Select an option

  • Save martinrusev/78b0fdbb0069b985c981 to your computer and use it in GitHub Desktop.

Select an option

Save martinrusev/78b0fdbb0069b985c981 to your computer and use it in GitHub Desktop.
Flatten image
ID=$(docker run -d image-name /bin/bash)
docker export $ID | docker import – flat-image-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment