dlayer

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 19 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

dlayer

dlayer is docker layer analyzer.

Installation

GO111MODULE=on go get github.com/orisano/dlayer

or

docker pull orisano/dlayer

How to use

$ dlayer -h
Usage of dlayer:
  -a	show details
  -d int
    	max depth (default 8)
  -f string
    	image.tar path (default "-")
  -i	interactive mode
  -l int
    	screen line width (default 100)
  -n int
    	max files (default 100)
# recommended
docker save image:tag | dlayer -i

or

docker save image:tag | dlayer -n 100 | less

or

docker save -o image.tar image:tag
dlayer -f image.tar -n 1000 -d 10 | less

screenshot

Author

Nao Yonashiro (@orisano)

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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