Skip to main content

Flatten Docker images while preserving metadata

Project description

# Flattenator

Flattenator takes a layered Docker image as input, and replaces it with a flattened single-layer image as output, preserving metadata in so far as possible.

## Operation

Flattenator must be invoked from a machine with Python 3 (and click) installed, and docker must be in the PATH. Further, docker login must have already been run to allow the running user to push an image.

Flattenator will download the image requested, push that image with the tag exp_{tag}_layered (so as not to destroy the initial image), flatten the image, and then push the flattened image under both the original tag and exp_{tag}_flattened.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flattenator-0.0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

flattenator-0.0.1-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flattenator-0.0.1.tar.gz.

File metadata

  • Download URL: flattenator-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for flattenator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7dbfc28670f5d36b556e534dae69a474da122dd2aac5a5ba383dc81340d5bd07
MD5 44c3884c106337e8f69c2260bb608bd1
BLAKE2b-256 a375464b6478d63a417d1dc6d392d85dd47321119077c228c50a12e4cf64ca5e

See more details on using hashes here.

File details

Details for the file flattenator-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: flattenator-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for flattenator-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4c9658e051481e1dcb415fb23bfad2c77abc9c10e4e2c7206f859bb23e8f3a48
MD5 aa789d0949cddf6473ffc9409d730d10
BLAKE2b-256 496b46f3920f9264083909109047e2b144af62f23d8657851ccd103593d06fd0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page