[Openstack-operators] [openstack] [tools] OpenStack client in a Docker container

Fox, Kevin M Kevin.Fox at pnnl.gov
Tue Jun 28 11:41:22 UTC 2016


Cool. Maybe this could be contributed to the Kolla project?

Thanks,
Kevin

________________________________
From: Gerard Braad
Sent: Monday, June 27, 2016 8:58:18 PM
To: openstack at lists.openstack.org; openstack-operators
Subject: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container

Hi all,


When you reinstall workstations or test environments as often as I do,
you would like to automate everything... or containerize it. So, I
packaged the OpenStack client in a Docker container on Ubuntu and
CentOS. And to make it more convenient, I added Lars's 'stack' helper
tool. Just have a look at the registry [1] or the source [2].

Usage is as easy as:

Store your stackrc in ~/.stack named as an endpoint; e.g. ~/.stack/trystack
$ docker pull gbraad/openstack-client:centos
$ alias stack='docker run -it  --rm -v ~/.stack:/root/.stack
gbraad/openstack-client:centos stack'
$ stack trystack openstack server list

Comments welcomed...

regards,


Gerard

[1] https://hub.docker.com/r/gbraad/openstack-client/
[2] https://github.com/gbraad/docker-openstack-client/

--

   Gerard Braad | http://gbraad.nl
   [ Doing Open Source Matters ]

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160628/e425da43/attachment.html>


More information about the OpenStack-operators mailing list