docker-image-squash

command module
v0.0.0-...-2ca1626 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL