https://github.com/runnable/flattendockerimages
This is a node.js module that flattens docker images
https://github.com/runnable/flattendockerimages
Last synced: 2 months ago
JSON representation
This is a node.js module that flattens docker images
- Host: GitHub
- URL: https://github.com/runnable/flattendockerimages
- Owner: Runnable
- Created: 2013-09-17T01:50:29.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-11-23T01:58:58.000Z (over 12 years ago)
- Last Synced: 2025-01-16T04:31:17.547Z (over 1 year ago)
- Language: JavaScript
- Size: 307 KB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
flattenDockerImages
===================
This is a node.js module that flattens docker images
**How does it work?**
- Goes through the docker history figures out the absolute layer paths
- cp's those layer paths in correct order into a folder
- deletes all whiteouts per layer copy
- compresses that folder
- builds an image from a docker file that adds that compressed folder