github.com/uber/kraken@v0.1.4/examples/devcluster/README.md (about)

     1  ## 1. Build
     2  
     3  `$ make devcluster`
     4  
     5  This command creates a `kraken-agent` image containing an agent binary and a `kraken-herd` image containing build-index, origin, proxy, and tracker binaries.
     6  
     7  It starts 2 agent docker containers and 1 herd container. Docker-for-Mac is required for devcluster to work, because the development config files use host.docker.internal for address of all components.
     8  
     9  ## 2. Pulling from Docker Hub Library
    10  
    11  A simple registry storage backend is provided for read-only access to Docker registry. A library image can be pulled from agent.
    12  
    13  `$ docker pull localhost:16000/library/golang:1.14`
    14  
    15  Note, this backend is used for all `library/.*` repositories. `library` is the default namespace for Docker Hub's standard public repositories.
    16  
    17  For all the other repositories, a testfs storage backend is included in the `kraken-herd` image, which is a simple http server that supports file uploading and downloading via port `14000`. Testfs simply stores blobs and tags on filesystem.
    18  
    19  ## 3. Pushing a Test Image
    20  
    21  A test image can be pushed to the herd instance
    22  
    23  `$ docker push localhost:15000/<repo>:<tag>`
    24  
    25  ## 4. Pull the Test Image
    26  
    27  Pull the test image from agent:
    28  
    29  `$ docker pull localhost:16000/<repo>:<tag>`