Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orisano/dlayer
dlayer is docker layer analyzer.
https://github.com/orisano/dlayer
container docker
Last synced: 5 days ago
JSON representation
dlayer is docker layer analyzer.
- Host: GitHub
- URL: https://github.com/orisano/dlayer
- Owner: orisano
- License: mit
- Created: 2018-08-18T13:25:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-29T04:47:12.000Z (18 days ago)
- Last Synced: 2025-01-03T00:46:15.694Z (13 days ago)
- Topics: container, docker
- Language: Go
- Homepage:
- Size: 460 KB
- Stars: 403
- Watchers: 11
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - orisano/dlayer - dlayer is docker layer analyzer. (Go)
- awesome-docker - dlayer - docker layer analyzer by [@orisano](https://github.com/orisano) (Docker Images / Builder)
README
# dlayer
dlayer is docker layer analyzer.## Installation
```bash
go install github.com/orisano/dlayer@latest
```
or
```
docker pull orisano/dlayer
```## How to use
```bash
$ 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)
``````bash
# recommended
docker save image:tag | dlayer -i
```
or
```bash
docker save image:tag | dlayer -n 100 | less
```
or
```bash
docker save -o image.tar image:tag
dlayer -f image.tar -n 1000 -d 10 | less
```
or
```bash
# using docker
docker save -o image.tar image:tag
docker run -v $PWD:/workdir -it orisano/dlayer -i -f /workdir/image.tar
```![screenshot](https://github.com/orisano/dlayer/raw/images/images/screenshot.png)
## Related Projects
* [orisano/bctx](https://github.com/orisano/bctx) - for build context analysis## Author
Nao Yonashiro (@orisano)## License
MIT