Document how to use Glance's docker image

Change-Id: I6e3dc1ac1be43c6015d4e55033c72dc67d32bee0
Closes-Bug: #1685518
This commit is contained in:
Hongbin Lu 2017-11-30 16:13:10 +00:00
parent ded601dd03
commit ee69d292ec
1 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,14 @@ We will create and run a container that pings the address 8.8.8.8 four times::
$ zun run --name test cirros ping -c 4 8.8.8.8
Above command will use the Docker image ``cirros`` from DockerHub which is a
public image repository. Alternatively, you can use Docker image from Glance
which serves as a private image repository::
$ docker pull cirros
$ docker save cirros | openstack image create cirros --public --container-format docker --disk-format raw
$ zun run --image-driver glance cirros ping -c 4 8.8.8.8
You should see a similar output to::
$ zun list