github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-manifest-add.1.md (about)

     1  % podman-manifest-add(1)
     2  
     3  ## NAME
     4  podman\-manifest\-add - Add an image to a manifest list or image index
     5  
     6  ## SYNOPSIS
     7  **podman manifest add** [*options*] *listnameorindexname* *imagename*
     8  
     9  ## DESCRIPTION
    10  
    11  Adds the specified image to the specified manifest list or image index.
    12  
    13  ## RETURN VALUE
    14  The list image's ID.
    15  
    16  ## OPTIONS
    17  
    18  #### **--all**
    19  
    20  If the image which should be added to the list or index is itself a list or
    21  index, add all of the contents to the local list.  By default, only one image
    22  from such a list or index will be added to the list or index.  Combining
    23  *--all* with any of the other options described below is NOT recommended.
    24  
    25  #### **--annotation** *annotation=value*
    26  
    27  Set an annotation on the entry for the newly-added image.
    28  
    29  #### **--arch**
    30  
    31  Override the architecture which the list or index records as a requirement for
    32  the image.  If *imageName* refers to a manifest list or image index, the
    33  architecture information will be retrieved from it.  Otherwise, it will be
    34  retrieved from the image's configuration information.
    35  
    36  #### **--authfile**=*path*
    37  
    38  Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json, which is set using `podman login`.
    39  If the authorization state is not found there, $HOME/.docker/config.json is checked, which is set using `docker login`.
    40  
    41  Note: You can also override the default path of the authentication file by setting the REGISTRY\_AUTH\_FILE
    42  environment variable. `export REGISTRY_AUTH_FILE=path`
    43  
    44  #### **--cert-dir**=*path*
    45  
    46  Use certificates at *path* (\*.crt, \*.cert, \*.key) to connect to the registry.
    47  Default certificates directory is _/etc/containers/certs.d_. (Not available for remote commands)
    48  
    49  #### **--creds**=*creds*
    50  
    51  The [username[:password]] to use to authenticate with the registry if required.
    52  If one or both values are not supplied, a command line prompt will appear and the
    53  value can be entered.  The password is entered without echo.
    54  
    55  #### **--features**
    56  
    57  Specify the features list which the list or index records as requirements for
    58  the image.  This option is rarely used.
    59  
    60  #### **--os**
    61  
    62  Override the OS which the list or index records as a requirement for the image.
    63  If *imagename* refers to a manifest list or image index, the OS information
    64  will be retrieved from it.  Otherwise, it will be retrieved from the image's
    65  configuration information.
    66  
    67  #### **--os-version**
    68  
    69  Specify the OS version which the list or index records as a requirement for the
    70  image.  This option is rarely used.
    71  
    72  #### **--tls-verify**
    73  
    74  Require HTTPS and verify certificates when talking to container registries (defaults to true).
    75  
    76  #### **--variant**
    77  
    78  Specify the variant which the list or index records for the image.  This option
    79  is typically used to distinguish between multiple entries which share the same
    80  architecture value, but which expect different versions of its instruction set.
    81  
    82  ## EXAMPLE
    83  
    84  ```
    85  podman manifest add mylist:v1.11 docker://fedora
    86  71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
    87  ```
    88  
    89  ```
    90  podman manifest add --all mylist:v1.11 docker://fedora
    91  71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
    92  ```
    93  
    94  ```
    95  podman manifest add --arch arm64 --variant v8 mylist:v1.11 docker://71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
    96  ```
    97  
    98  ## SEE ALSO
    99  podman(1), podman-manifest(1), podman-manifest-create(1), podman-manifest-inspect(1), podman-manifest-push(1), podman-manifest-remove(1), podman-rmi(1)