github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/docs/2-the-jackal-cli/100-cli-commands/jackal_tools_registry_pull.md (about)

     1  # jackal tools registry pull
     2  <!-- Auto-generated by hack/gen-cli-docs.sh -->
     3  
     4  Pull remote images by reference and store their contents locally
     5  
     6  ```
     7  jackal tools registry pull IMAGE TARBALL [flags]
     8  ```
     9  
    10  ## Examples
    11  
    12  ```
    13  
    14  # Pull an image from an internal repo in Jackal to a local tarball
    15  $ jackal tools registry pull 127.0.0.1:31999/stefanprodan/podinfo:6.4.0 image.tar
    16  
    17  # Pull an image from a repo hosted at reg.example.com to a local tarball
    18  $ jackal tools registry pull reg.example.com/stefanprodan/podinfo:6.4.0 image.tar
    19  
    20  ```
    21  
    22  ## Options
    23  
    24  ```
    25        --annotate-ref        Preserves image reference used to pull as an annotation when used with --format=oci
    26    -c, --cache_path string   Path to cache image layers
    27        --format string       Format in which to save images ("tarball", "legacy", or "oci") (default "tarball")
    28    -h, --help                help for pull
    29  ```
    30  
    31  ## Options inherited from parent commands
    32  
    33  ```
    34        --allow-nondistributable-artifacts   Allow pushing non-distributable (foreign) layers
    35        --insecure                           Allow image references to be fetched without TLS
    36        --platform string                    Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default "all")
    37    -v, --verbose                            Enable debug logs
    38  ```
    39  
    40  ## SEE ALSO
    41  
    42  * [jackal tools registry](jackal_tools_registry.md)	 - Tools for working with container registries using go-containertools