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.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

flattenator-0.0.2-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for flattenator-0.0.2.tar.gz
Algorithm Hash digest
SHA256 51c13ab2a3a9f76c6a27d499892db20e2b550aed65faad0b20ab3987b2e2b83b
MD5 a68ec3771467ebf67d276956627e19b1
BLAKE2b-256 eeb813756876db5eaf6e98992fdd20eeebcaae9afc8e60c781cbf3cbd1c74aa3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flattenator-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 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/49.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for flattenator-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ea21875aeb3352bd505080414d484acc81d78aa9392a599ccdda41bc7da8088a
MD5 72238ae3577fd3f687c039dccfafb24d
BLAKE2b-256 66cce530fefac35d9d18ad6bbadb1b278f94c706456afc87a7fed6a71e4df3a9

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