robust-rosin / robust

A dataset of 200+ bugs in the Robot Operating System for BugZoo
30 stars 10 forks source link

Average size of Docker images (or a range)? #389

Open gavanderhoorn opened 4 years ago

gavanderhoorn commented 4 years ago

In order to gauge storage requirements for the Docker images, I'm trying to come up with an average size which can be used to calculate a total storage volume needed to persist them.

It's more likely we have a range. That would also be OK.

gavanderhoorn commented 4 years ago

@ChrisTimperley: would you have a quick figure here?

gavanderhoorn commented 4 years ago

I'm also trying to figure out whether it would be possible to store diffs between Docker images.

Exporting an image to a .tar will make it impossible to exploit any caches or deduplication, which may cause storage requirements to become significantly higher.

Compression will help, but it's unclear how much.

ChrisTimperley commented 4 years ago

I believe that it's possible to export multiple images to a single tar: https://stackoverflow.com/questions/35575674/how-to-save-all-docker-images-and-copy-to-another-machine