From ee69d292ecfadecb7ded71de16818ffc1063fecf Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Thu, 30 Nov 2017 16:13:10 +0000 Subject: [PATCH] Document how to use Glance's docker image Change-Id: I6e3dc1ac1be43c6015d4e55033c72dc67d32bee0 Closes-Bug: #1685518 --- doc/source/contributor/quickstart.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/source/contributor/quickstart.rst b/doc/source/contributor/quickstart.rst index 1a7573de7..7dd51e4ad 100644 --- a/doc/source/contributor/quickstart.rst +++ b/doc/source/contributor/quickstart.rst @@ -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