Giter Club home page Giter Club logo

docker-local-cache's Introduction

Instructions

git clone https://github.com/techmaniack/docker-local-cache.git
cd docker-local-cache
docker-compose up -d

Once the registry container is up and listening in port 5000 you must set the registry-mirrors key to localhost:5000 and restart docker service.

Example

First pull for mongo image takes 71 seconds while next pull is complete in 19 seconds.

$ time docker pull mongo
Using default tag: latest
latest: Pulling from library/mongo
...
Status: Downloaded newer image for mongo:latest
docker pull mongo  0.17s user 0.07s system 0% cpu 1:11.08 total

 $ docker rmi mongo
Untagged: mongo:latest
Untagged: mongo@sha256:c4bc4644b967a4b58022a79cf5c9afcd25ed08180c958a74df57b7753cfc8649
...
Deleted: sha256:5d924e3b1efdcda770bc33e6d7563f5ca2411dcc6b7368c8a30356bed474ae5a

 $ time docker pull mongo
Using default tag: latest
latest: Pulling from library/mongo
...
Status: Downloaded newer image for mongo:latest
docker pull mongo  0.13s user 0.05s system 0% cpu 19.296 total

docker-local-cache's People

Contributors

techmaniack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.