Public Repository

Last pushed: 2 months ago
Short Description
This container exports and imports and image to flatten it and reduce it significantly in size.
Full Description

link to source:

github

This container exports and imports and image to flatten it and reduce it significantly in size. Original process credits go to Brian DeHamer who describes the process at https://www.ctl.io/developers/blog/post/optimizing-docker-images#flatten-your-image.

docker run -v /var/run/docker.sock:/var/run/docker.sock woutercoebergh/flatten_image image_to_flatten output_image_name

The docker image is automatically tagged with 'flat'

docker run -v /var/run/docker.sock:/var/run/docker.sock woutercoebergh/flatten_image input:1.0.1 output

results in a docker image output:flat

Docker Pull Command
Owner
woutercoebergh

Comments (0)