Categorygithub.com/mheers/docker-image-squash
modulepackage
0.0.0-20241118110140-cbe62dc58798
Repository: https://github.com/mheers/docker-image-squash.git
Documentation: pkg.go.dev

# README

docker-image-squash

A simple tool to to squash all layers of a docker image into a single tar file.

Installation

Binary

go install github.com/mheers/docker-image-squash@latest

Usage

Binary

docker-image-squash <image> <output.tar>

Docker

docker run --rm -v $(pwd):/output mheers/docker-image-squash <image> <output.tar>

TODO

  • remove dependency of docker

Alternatives

Why docker-image-squash?

  • no need to install docker
  • no need to install python
  • no need to run as root

# Packages

No description provided by the author
No description provided by the author
No description provided by the author