6.2 Using docker-ostk

To use the docker-ostk utility, use the syntax:

docker-ostk openstack_client openstack_client_argument  [ -h | --help ]
openstack_client

An OpenStack CLI client, for example, nova.

openstack_client_argument

The argument for the OpenStack CLI client command, for example, list.

-h, --help

Display syntax help.

The docker-ostk utility wraps docker run commands, and includes the environment variables you set. So instead of needing to issue a command like:

$ docker run --rm -it --env ADMIN_USER=admin --env ADMIN_PASS=password ... openstack-utils nova list

You can use the more straight-forward command of:

$ docker-ostk nova list

For a list of OpenStack CLI commands and their arguments, see the OpenStack Command-Line Interface Reference:

http://docs.openstack.org/cli-reference/content/

The first time you issue a docker-ostk command, the Docker registry is checked for a local copy of the ol-openstack-utils image. If a local copy is not available, a copy is downloaded to your local copy of the registry.

If the Docker registry cannot be found, make sure the registry location is set using the kollacli property set docker_registry command.