Questo contenuto non è disponibile nella lingua selezionata.

2.147. openstack image create


usage: openstack image create [-h] [-f {json,shell,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>] [--noindent]
                              [--prefix PREFIX] [--id <id>]
                              [--container-format <container-format>]
                              [--disk-format <disk-format>]
                              [--min-disk <disk-gb>] [--min-ram <ram-mb>]
                              [--file <file>] [--volume <volume>] [--force]
                              [--protected | --unprotected]
                              [--public | --private] [--property <key=value>]
                              [--tag <tag>] [--project <project>]
                              [--project-domain <project-domain>]
                              <image-name>
Copy to Clipboard Toggle word wrap
Create/upload an image

Positional arguments

<image-name>


        New image name

Optional arguments

-h, --help


        show this help message and exit

--id <id>


        Image ID to reserve

--container-format <container-format>


      Image container format (default: bare)

--disk-format <disk-format>


      Image disk format (default: raw)

--min-disk <disk-gb>


        Minimum disk size needed to boot image, in gigabytes

--min-ram <ram-mb>


        Minimum RAM size needed to boot image, in megabytes

--file <file>


        Upload image from local file

--volume <volume>


        Create image from a volume

--force


        Force image creation if volume is in use (only
      meaningful with --volume)

--protected


        Prevent image from being deleted

--unprotected


        Allow image to be deleted (default)

--public


        Image is accessible to the public

--private


        Image is inaccessible to the public (default)

--property <key=value>


      Set a property on this image (repeat option to set
      multiple properties)

--tag <tag>


        Set a tag on this image (repeat option to set multiple
      tags)

--project <project>


        Set an alternate project on this image (name or ID)

--project-domain <project-domain>


      Domain the project belongs to (name or ID). This can
      be used in case collisions between project names
      exist.

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat