Skip to content

Commit

Permalink
DOC: Openstack Images
Browse files Browse the repository at this point in the history
  • Loading branch information
dereknoblej authored and cloudnull committed Apr 6, 2024
1 parent c6e042a commit 08a14d8
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
64 changes: 64 additions & 0 deletions docs/openstack-images.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Openstack Images

To read more about Openstack images please visit the [upstream docs](https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/image-v1.html#image-create).

#### List and view images

``` shell
openstack image list
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--public | --private]
[--property <key=value>]
[--long]
[--sort <key>[:<direction>]]
```
#### View image details
``` shell
openstack image show <imageName>
```
#### Create a image
``` shell
openstack image create
[--id <id>]
[--store <store>]
[--container-format <container-format>]
[--disk-format <disk-format>]
[--size <size>]
[--min-disk <disk-gb>]
[--min-ram <ram-mb>]
[--location <image-url>]
[--copy-from <image-url>]
[--file <file> | --volume <volume>]
[--force]
[--checksum <checksum>]
[--protected | --unprotected]
[--public | --private]
[--property <key=value>]
[--project <project>]
<image-name>
```
#### Delete a image
``` shell
openstack image delete <image> [<image> ...]
```
#### Retrieving Images
Please visit this page for examples of retrieving images [here](https://docs.openstack.org/image-guide/obtain-images.html).
#### Creating a server from an image
Specify the server name, flavor ID, and image ID.
``` shell
openstack server create --flavor FLAVOR_ID --image IMAGE_ID --key-name KEY_NAME \
--user-data USER_DATA_FILE --security-group SEC_GROUP_NAME --property KEY=VALUE \
INSTANCE_NAME
```
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,5 @@ nav:
- Openstack Floating Ips: openstack-floating-ips.md
- Openstack Keypairs: openstack-keypairs.md
- Openstack Servers: openstack-servers.md
- Openstack Images: openstack-images.md
- Openstack Swift: storage-swift-object-store.md

0 comments on commit 08a14d8

Please sign in to comment.