{"id":17637302,"url":"https://github.com/orf/docker-repack","last_synced_at":"2025-04-12T18:41:24.160Z","repository":{"id":255446021,"uuid":"827955761","full_name":"orf/docker-repack","owner":"orf","description":"Repack docker images to optimize for pulling speed.","archived":false,"fork":false,"pushed_at":"2025-03-14T07:03:21.000Z","size":1308,"stargazers_count":138,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T21:11:40.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://orf.github.io/docker-repack/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-12T18:43:59.000Z","updated_at":"2025-03-31T09:01:34.000Z","dependencies_parsed_at":"2024-09-15T05:46:32.261Z","dependency_job_id":"7011acc0-373c-4c19-97a2-44063e5e59a3","html_url":"https://github.com/orf/docker-repack","commit_stats":null,"previous_names":["orf/docker-repack"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orf%2Fdocker-repack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orf%2Fdocker-repack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orf%2Fdocker-repack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orf%2Fdocker-repack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orf","download_url":"https://codeload.github.com/orf/docker-repack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248616601,"owners_count":21134105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-23T03:01:08.139Z","updated_at":"2025-04-12T18:41:24.116Z","avatar_url":"https://github.com/orf.png","language":"Rust","readme":"# docker-repack - Speed up Docker image pulls\n\nThis tool repacks a Docker image into a smaller, more efficient version that makes it significantly faster to pull. It \ndoes this by using a few [different techniques](docs/about.md) such as removing redundant data and improving compression \nratios. Some examples of improvements:\n\n| Image                                                                           | Before                       | After             | Reduction                 |\n|---------------------------------------------------------------------------------|------------------------------|-------------------|---------------------------|\n| [google/deepsomatic](https://registry.hub.docker.com/r/google/deepsomatic/tags) | 16.4GB, 2 minutes 14 seconds | 4.8GB, 16 seconds | 3.4x smaller, 8.2x faster |\n| [google/deepvariant](https://hub.docker.com/r/google/deepvariant/tags)          | 12.7GB, 1 minute, 2 seconds  | 3GB, 10 seconds   | 6.3x faster, 4.2x smaller |\n| [google/cloud-sdk](https://registry.hub.docker.com/r/google/cloud-sdk/tags)     | 1.1GB, 5 seconds             | 187MB, 1 second   | 3.8x faster, 6.1x smaller |\n| [mathworks/matlab](https://hub.docker.com/r/mathworks/matlab/tags)              | 2GB, 5 seconds               | 230.7MB, 1 second | 6.5x faster, 9x smaller   |\n| [tensorflow/tensorflow](https://hub.docker.com/r/tensorflow/tensorflow/tags)    | 3.5GB, 11 seconds            | 2GB, 3 seconds    | 3.3x faster, 1.8x smaller |\n\nSee the [benchmarks page](https://orf.github.io/docker-repack/benchmarks/) for a full comparison of pulling times across\nmany different images.\n\n![](./docs/preview.gif)\n\n## Usage\n\n```bash\n$ docker-repack docker://alpine:latest oci://directory/ --target-size=50MB\n```\n\nFull arguments:\n\n```bash\nUsage: docker-repack [OPTIONS] --target-size \u003cTARGET_SIZE\u003e \u003cSOURCE\u003e \u003cOUTPUT_DIR\u003e\n\nArguments:\n  \u003cSOURCE\u003e      Source image. e.g. `python:3.11`, `tensorflow/tensorflow:latest` or `oci://local/image/path`\n  \u003cOUTPUT_DIR\u003e  Location to save image, e.g oci://directory/path/\n\nOptions:\n  -t, --target-size \u003cTARGET_SIZE\u003e              Target size for layers\n      --concurrency \u003cCONCURRENCY\u003e\n      --keep-temp-files\n      --compression-level \u003cCOMPRESSION_LEVEL\u003e  [default: 14]\n      --platform \u003cPLATFORM\u003e                    [default: linux/*]\n  -h, --help                                   Print help\n  -V, --version                                Print version\n  ```\n\n## Installation\n\n### Pre-compiled binaries\n\nDownload a release [from the releases page](https://github.com/orf/docker-repack/releases)\n\n### Cargo\n\n```bash\ncargo install docker-repack\n````\n\n","funding_links":[],"categories":["Docker Images"],"sub_categories":["Builder"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forf%2Fdocker-repack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forf%2Fdocker-repack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forf%2Fdocker-repack/lists"}