settingsLogin | Registersettings

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

0 votes

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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
asked Jun 28, 2016 in openstack by Gerard_Braad (1,400 points)   3

4 Responses

0 votes

Usage is as easy as:
$ docker pull gbraad/openstack-client:centos

Just now I added an Alpine-based image

$ docker pull gbraad/openstack-client:alpine

Hope this is also useful to you.

--

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


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Jun 28, 2016 by Gerard_Braad (1,400 points)   3
0 votes

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@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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Jun 28, 2016 by Fox,_Kevin_M (29,360 points)   1 3 4
0 votes

Looks awesome, it has to be really useful.

Thanks!

On Tue, Jun 28, 2016 at 2:41 PM, Fox, Kevin M Kevin.Fox@pnnl.gov wrote:

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@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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

--
Best regards,

Ihor Dvoretskyi


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Jun 28, 2016 by Ihor_Dvoretskyi (540 points)  
0 votes

Gerard,

Yup we would take it in Kolla. Prevents dirtying a system for CLI based operations.

Regards
-steve

From: "Fox, Kevin M" Kevin.Fox@pnnl.gov
Date: Tuesday, June 28, 2016 at 4:41 AM
To: Gerard Braad me@gbraad.nl, "openstack@lists.openstack.org" openstack@lists.openstack.org, openstack-operators openstack-operators@lists.openstack.org
Subject: Re: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container

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@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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Jun 28, 2016 by Steven_Dake_(stdake) (24,540 points)   2 13 26
...