Skip to content

mjeromin/docker-maxlayers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-maxlayers

I'm using this docker image to test docker pull performance. I've maximized the number of layers and each layer is bloated with 10MB of unique junk.

BUILD

First, generate some bloat:

./bloat_generator.sh

This will generate 124 bloat files each 10MB in size. The docker build will copy each file as an individual layer. I was able to build 127 layers with the scratch base layer and bloat layers:

docker image build -t maxlayers .

TEST

The pull_test.sh script measures docker pull performance (counts for now). To run:

./pull_test.sh

Results will be printed on the console as well in results.log. The script runs forever, you will need to CNTL-C to cancel when you are satisfied with collecting enough data.

About

a docker image to test pull performance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages